⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gps loggerdoc.h

📁 读取GPS数据
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -