Parses raw NMEA data streams, splitting them into individual sentences and dispatching them to registered NMEASentenceReader instances.
More...
Parses raw NMEA data streams, splitting them into individual sentences and dispatching them to registered NMEASentenceReader instances.
Definition at line 38 of file NMEAParserPacket.h.
◆ activeSentenceTypes()
Returns the list of sentence types that have active readers.
- Returns
- A buffer of active sentence type identifiers.
◆ addSentenceReader() [1/2]
Registers a sentence reader for a specific sentence type.
- Parameters
-
| [in] | string | The sentence type identifier. |
| [in] | reader | The sentence reader to register. |
Definition at line 62 of file NMEAParserPacket.h.
◆ addSentenceReader() [2/2]
Registers a sentence reader and auto-maps its supported sentence types.
- Parameters
-
| [in] | reader | The sentence reader to register. |
◆ info()
| const NMEAInfo & NMEAReader::info |
( |
| ) |
const |
|
inline |
Returns the current accumulated NMEA info.
- Returns
- Reference to the NMEA info structure.
Definition at line 71 of file NMEAParserPacket.h.
References m_info.
◆ processNMEABuffer()
Processes a buffer of raw NMEA data, extracting and processing complete sentences.
- Parameters
-
| [in] | data | The raw NMEA data buffer. |
- Returns
- Update information from the last processed sentence.
◆ processRxCommand()
Processes a single extracted NMEA command and data pair.
- Parameters
-
| [in] | command | The NMEA command type. |
| [in] | data | The command data payload. |
- Returns
- Update information describing what changed.
Reimplemented in CNMEAParserQt.
◆ readers()
Returns the registered sentence readers.
- Returns
- Reference to the buffer of sentence reader pointers.
Definition at line 68 of file NMEAParserPacket.h.
The documentation for this class was generated from the following file: