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

#include <NMEASentenceRMC.h>

Inheritance diagram for CNMEASentenceRMC:
CNMEASentenceBase

Public Member Functions

 CNMEASentenceRMC ()
 
virtual ~CNMEASentenceRMC ()
 
virtual CNMEAParserData::ERROR_E ProcessSentence (char *pCmd, char *pData)
 Process the data from the specific NMEA sentence. More...
 
virtual void ResetData (void)
 Clears the sentense specific data to a default value. More...
 
CNMEAParserData::RMC_DATA_T GetSentenceData (void)
 Returns the NMEA sentence data structure. More...
 
- Public Member Functions inherited from CNMEASentenceBase
 CNMEASentenceBase ()
 
 ~CNMEASentenceBase ()
 

Private Attributes

CNMEAParserData::RMC_DATA_T m_SentenceData
 Sentence specific data. 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

Definition at line 40 of file NMEASentenceRMC.h.

Constructor & Destructor Documentation

◆ CNMEASentenceRMC()

CNMEASentenceRMC::CNMEASentenceRMC ( )

Definition at line 36 of file NMEASentenceRMC.cpp.

◆ ~CNMEASentenceRMC()

CNMEASentenceRMC::~CNMEASentenceRMC ( )
virtual

Definition at line 41 of file NMEASentenceRMC.cpp.

Member Function Documentation

◆ GetSentenceData()

CNMEAParserData::RMC_DATA_T CNMEASentenceRMC::GetSentenceData ( void  )
inline

Returns the NMEA sentence data structure.

Definition at line 75 of file NMEASentenceRMC.h.

◆ ProcessSentence()

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

Process the data from the specific NMEA sentence.

This method was made into a pure virtual to force the child class to define the sentense processor. You must redefine this method to process the specific data. See CNMEASentenceGGA::ProcessSentence() child class method for an example.

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

Implements CNMEASentenceBase.

Definition at line 45 of file NMEASentenceRMC.cpp.

◆ ResetData()

void CNMEASentenceRMC::ResetData ( void  )
virtual

Clears the sentense specific data to a default value.

This method was made into a pure virtual to force the child class to define the sentense processor. You must redefine this method to process the specific data. See CNMEASentenceGGA::ResetData() child class method for an example.

Implements CNMEASentenceBase.

Definition at line 153 of file NMEASentenceRMC.cpp.

Member Data Documentation

◆ m_SentenceData

CNMEAParserData::RMC_DATA_T CNMEASentenceRMC::m_SentenceData
private

Sentence specific data.

Definition at line 42 of file NMEASentenceRMC.h.


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