ot::GPSParser Class Reference
[Device Input Classes]
This is a GPS helper class for parsing the different output strings returned by the GPS receiver module.
More...
#include <GPSParser.h>
Collaboration diagram for ot::GPSParser:

Static Public Member Functions | |
| static const GPResult * | parse (const char *line) |
| static bool | checkSum (const char *line) |
Private Member Functions | |
| GPSParser () | |
Static Private Attributes | |
| static const GPResult *(* | parsers [])(const char *) |
Detailed Description
This is a GPS helper class for parsing the different output strings returned by the GPS receiver module.It will output a class that represents the result and needs to be tested for the correct type. See GPResult. It implements the following NMEA and extension messages: GPGGA, GPVTG. PGRMZ, HCHDG.
- Author:
- Gerhard Reitmayr
Definition at line 152 of file GPSParser.h.
Constructor & Destructor Documentation
| ot::GPSParser::GPSParser | ( | ) | [inline, private] |
Definition at line 158 of file GPSParser.h.
Member Function Documentation
| bool ot::GPSParser::checkSum | ( | const char * | line | ) | [static] |
| const GPResult * ot::GPSParser::parse | ( | const char * | line | ) | [static] |
Definition at line 64 of file GPSParser.cxx.
References checkSum(), and parsers.
Referenced by ot::GPSDriver::new_line().
Member Data Documentation
const GPResult*(* ot::GPSParser::parsers[])(const char *) [static, private] |
Referenced by parse().
The documentation for this class was generated from the following files: