![]() |
NDEVR
API Documentation
|
Abstract base class for parsing specific NMEA sentence types (e.g. More...
Public Member Functions | |
| virtual StringView | name () const =0 |
| Returns the display name of this sentence reader. | |
| virtual NMEAUpdateInfo | processRxCommand (const StringView &command, const StringView &data, NMEAInfo &info)=0 |
| Processes a received NMEA command and its data payload. | |
| virtual Buffer< StringView > | supportedTypes () const =0 |
| Returns the NMEA sentence types this reader can handle. | |
Public Attributes | |
| TimeSpan | average_rx_rate = Constant<TimeSpan>::Invalid |
| Average time between received messages. | |
| uint04 | count = 0 |
| Total number of messages processed. | |
| Time | last_rx_time = Constant<Time>::Invalid |
| Time of the last received message. | |
Protected Member Functions | |
| void | onMessageReceived () |
| Updates receive timing statistics after processing a message. | |
Protected Attributes | |
| Buffer< StringView > | m_sentence_parts |
| Temporary storage for parsed sentence fields. | |
Abstract base class for parsing specific NMEA sentence types (e.g.
GGA, GSV, RMC). Subclasses implement processRxCommand to handle their specific sentence format.
Definition at line 11 of file NMEAParserPacket.h.
|
pure virtual |
Returns the display name of this sentence reader.
Implemented in CNMEASentenceGGA, CNMEASentenceGSA, CNMEASentenceGST, CNMEASentenceGSV, CNMEASentencePCSW, and CNMEASentenceRMC.
|
pure virtual |
Processes a received NMEA command and its data payload.
| [in] | command | The NMEA command type (e.g. "GGA"). |
| [in] | data | The comma-separated data payload. |
| [in] | info | The NMEA info structure to update. |
Implemented in CNMEASentenceGGA, CNMEASentenceGSA, CNMEASentenceGST, CNMEASentenceGSV, CNMEASentencePCSW, and CNMEASentenceRMC.
|
pure virtual |
Returns the NMEA sentence types this reader can handle.
Implemented in CNMEASentenceGGA, CNMEASentenceGSA, CNMEASentenceGST, CNMEASentenceGSV, CNMEASentencePCSW, and CNMEASentenceRMC.