gps loggerdoc.h

来自「读取GPS数据」· C头文件 代码 · 共 69 行

H
69
字号
// GPS LoggerDoc.h : interface of the CGPSLoggerDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_GPSLOGGERDOC_H__582583E1_2307_43F1_B74A_9CBC4BDE5A94__INCLUDED_)
#define AFX_GPSLOGGERDOC_H__582583E1_2307_43F1_B74A_9CBC4BDE5A94__INCLUDED_

#include "COMPortIO.h"	// Added by ClassView
#include "NMEAParser.h"	// Added by ClassView
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000


class CGPSLoggerDoc : public CDocument
{
protected: // create from serialization only
	CGPSLoggerDoc();
	DECLARE_DYNCREATE(CGPSLoggerDoc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGPSLoggerDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual void OnCloseDocument();
	//}}AFX_VIRTUAL

// Implementation
public:
	GPSInfo& GetActualGPSInfo();
	void Timer();
	BOOL IsRunning();
	void Stop();
	void Start();
	virtual ~CGPSLoggerDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CGPSLoggerDoc)
	afx_msg void OnFileClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	NMEAParser m_NMEAParser;
	CCOMPortIO m_COMPortIO;
	BOOL m_running;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GPSLOGGERDOC_H__582583E1_2307_43F1_B74A_9CBC4BDE5A94__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?