#include <nmea0183.h>
Inheritance diagram for gps::Gpvtg:
Public Member Functions | |
Gpvtg (const char sentence[]) | |
Constructs a GPVTG sentence. | |
double | trueCourse (void) const |
Gets the true course over ground. | |
double | magneticCourse (void) const |
Gets the magnetic course over ground. | |
double | speedKnots (void) const |
Gets the speed over ground in knots. | |
double | speedKmph (void) const |
Gets the speed over ground in kilometers per hour. |
gps::Gpvtg::Gpvtg | ( | const char | sentence[] | ) |
Constructs a GPVTG sentence.
sentence | pointer to string sentence. |
double gps::Gpvtg::trueCourse | ( | void | ) | const |
Gets the true course over ground.
double gps::Gpvtg::magneticCourse | ( | void | ) | const |
Gets the magnetic course over ground.
double gps::Gpvtg::speedKnots | ( | void | ) | const |
Gets the speed over ground in knots.
double gps::Gpvtg::speedKmph | ( | void | ) | const |
Gets the speed over ground in kilometers per hour.