NMEAParser
NMEA Parser Library - Monte Variakojis @VisualGPS
Public Member Functions | Private Attributes | List of all members
CNMEASentenceGGA Class Reference

–GGA Data class More...

#include <NMEASentenceGGA.h>

Inheritance diagram for CNMEASentenceGGA:
CNMEASentenceBase

Public Member Functions

 CNMEASentenceGGA ()
 
virtual ~CNMEASentenceGGA ()
 
virtual CNMEAParserData::ERROR_E ProcessSentence (char *pCmd, char *pData)
 Process the –GGA command and stores the result in the specific data structure. More...
 
virtual void ResetData (void)
 Clears the sentence specific data to a default value. More...
 
CNMEAParserData::GGA_DATA_T GetSentenceData (void)
 Returns the NMEA sentence data structure. More...
 
- Public Member Functions inherited from CNMEASentenceBase
 CNMEASentenceBase ()
 
 ~CNMEASentenceBase ()
 

Private Attributes

CNMEAParserData::GGA_DATA_T m_SentenceData
 Sentence specific data. More...
 
int m_nOldVSpeedSeconds
 Used to calculate vertical speed. More...
 
double m_dOldVSpeedAlt
 Used to calculate vertical speed. More...
 

Additional Inherited Members

- Static Public Attributes inherited from CNMEASentenceBase
static const int c_nMaxField = 256
 Maximum field length. More...
 
- Protected Member Functions inherited from CNMEASentenceBase
CNMEAParserData::ERROR_E GetField (char *pData, char *pField, int nFieldNum, int nMaxFieldLen)
 This function will get the specified field in a NMEA string. More...
 
- Protected Attributes inherited from CNMEASentenceBase
unsigned int m_uRxCount
 Receive count. More...
 

Detailed Description

–GGA Data class

Definition at line 36 of file NMEASentenceGGA.h.

Constructor & Destructor Documentation

◆ CNMEASentenceGGA()

CNMEASentenceGGA::CNMEASentenceGGA ( )

Definition at line 28 of file NMEASentenceGGA.cpp.

◆ ~CNMEASentenceGGA()

CNMEASentenceGGA::~CNMEASentenceGGA ( )
virtual

Definition at line 35 of file NMEASentenceGGA.cpp.

Member Function Documentation

◆ GetSentenceData()

CNMEAParserData::GGA_DATA_T CNMEASentenceGGA::GetSentenceData ( void  )
inline

Returns the NMEA sentence data structure.

Definition at line 66 of file NMEASentenceGGA.h.

◆ ProcessSentence()

CNMEAParserData::ERROR_E CNMEASentenceGGA::ProcessSentence ( char *  pCmd,
char *  pData 
)
virtual

Process the –GGA command and stores the result in the specific data structure.

Parameters
pCmdTalker command
pDataComma separated talker data string.
Returns
ERROR_OK if successful

Implements CNMEASentenceBase.

Definition at line 38 of file NMEASentenceGGA.cpp.

◆ ResetData()

void CNMEASentenceGGA::ResetData ( void  )
virtual

Clears the sentence specific data to a default value.

Note: Redefined. See parent class CNMEASentenceBase

Implements CNMEASentenceBase.

Definition at line 165 of file NMEASentenceGGA.cpp.

Member Data Documentation

◆ m_dOldVSpeedAlt

double CNMEASentenceGGA::m_dOldVSpeedAlt
private

Used to calculate vertical speed.

Definition at line 41 of file NMEASentenceGGA.h.

◆ m_nOldVSpeedSeconds

int CNMEASentenceGGA::m_nOldVSpeedSeconds
private

Used to calculate vertical speed.

Definition at line 40 of file NMEASentenceGGA.h.

◆ m_SentenceData

CNMEAParserData::GGA_DATA_T CNMEASentenceGGA::m_SentenceData
private

Sentence specific data.

Definition at line 39 of file NMEASentenceGGA.h.


The documentation for this class was generated from the following files: