📄 gpsreceiverbase.h
字号:
#ifndef __CGpsReceiverBase_H__
#define __CGpsReceiverBase_H__
#include <E32Base.h>
#include "GpsPosition.h"
#include "NmeaParser.h"
class MGpsListener;
class CGpsReceiverBase : public CBase
{
public:
void AddListenerL( MGpsListener * aListener );
void RemoveListenerL( MGpsListener * aListener );
protected:
CGpsReceiverBase( void );
virtual ~CGpsReceiverBase( void );
protected:
void SendUpdate( const TGpsPosition & aNewPosition );
void ProcessMessageL( TDesC8 & aCommand );
void ProcessGPGGAMsgL( TDesC8 & aCommand );
void ProcessGPGLLMsgL( TDesC8 & aCommand );
void ProcessGPVTGMsgL( TDesC8 & aCommand );
protected:
CNmeaParser iNmeaParser;
private:
TGpsPosition iLastPosition;
private:
RPointerArray< MGpsListener > iListeners;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -