#include <nmea0183.h>
Inheritance diagram for gps::Gprmc:


Public Member Functions | |
| Gprmc (const char sentence[]) | |
| Constructs a GPRMC sentence. | |
| void | time (struct timeval *tv) const |
| Gets UTC time position fix. | |
| int | status (void) const |
| Gets the status. | |
| double | latitude (void) const |
| Gets latitude. | |
| double | longitude (void) const |
| Gets longitude. | |
| double | speedKnots (void) const |
| Gets the speed over ground in knots. | |
| double | trueCourse (void) const |
| Gets the true course over ground. | |
| void | date (struct tm *tm) const |
| Gets the UTC date of position fix. | |
| double | magneticVariation (void) const |
| Gets the magnetic variation. | |
| int | mode (void) const |
| Gets mode indicator. | |
| gps::Gprmc::Gprmc | ( | const char | sentence[] | ) |
Constructs a GPRMC sentence.
| sentence | pointer to string sentence. |
| void gps::Gprmc::time | ( | struct timeval * | tv | ) | const |
Gets UTC time position fix.
| tv | pointer to struct to receive time values. |
| int gps::Gprmc::status | ( | void | ) | const |
Gets the status.
| double gps::Gprmc::latitude | ( | void | ) | const |
Gets latitude.
| double gps::Gprmc::longitude | ( | void | ) | const |
Gets longitude.
| double gps::Gprmc::speedKnots | ( | void | ) | const |
Gets the speed over ground in knots.
| double gps::Gprmc::trueCourse | ( | void | ) | const |
Gets the true course over ground.
| void gps::Gprmc::date | ( | struct tm * | tm | ) | const |
Gets the UTC date of position fix.
| tm | Pointer to struct to receive date values. |
| double gps::Gprmc::magneticVariation | ( | void | ) | const |
Gets the magnetic variation.
| int gps::Gprmc::mode | ( | void | ) | const |
Gets mode indicator.
1.5.2