#include <NMEA.h>

GPRMC Message Format
Public Types | |
| enum | FIELDS { RMCMSG = NMEA::FIELD_0, RMCTIME, RMCSTAT, RMCLATD, RMCLATM, RMCLATH, RMCLOND, RMCLONM, RMCLONH, RMCSOG, RMCCOG, RMCDATE, RMCMVM, RMCMVD, RMCCHK } |
| GPRMC Field mnemonics. More... | |
Public Member Functions | |
| GPRMC () | |
| Default no argument constructor. | |
| int | setTIME (time_t time) |
| Set time field. | |
| int | setSTAT (char stat) |
| Set status field. | |
| int | setLATD (int latd) |
| Set lat degrees field. | |
| int | setLATM (double latm) |
| Set lat minutes field. | |
| int | setLATH (char lath) |
| Set lat hemisphere field. | |
| int | setLOND (int lond) |
| Set lon degrees field. | |
| int | setLONM (double lonm) |
| Set lon min field. | |
| int | setLONH (char lonh) |
| Set lon hemisphere field. | |
| int | setSOG (double sog) |
| Set speed over ground field. | |
| int | setCOG (double cog) |
| Set course over ground field. | |
| int | setDATE (time_t date) |
| Set date field. | |
| int | setMVM (double nvn) |
| Set Magnetic Variation Magnitude. | |
| int | setMVD (char mvd) |
| Set Magnetic Variation Direction. | |
| virtual const char * | toString () |
| Generate NMEA string from current field values. | |
Friends | |
| ostream & | operator<< (ostream &output, const GPRMC &n) |
| output stream operator | |
| enum GPRMC::FIELDS |
These are mapped onto the field enumerations in the base class.
Reimplemented from NMEA.
| int GPRMC::setTIME | ( | time_t | time | ) |
Set time field.
| time | new value |
| int GPRMC::setSTAT | ( | char | stat | ) |
Set status field.
| stat | new value |
| int GPRMC::setLATD | ( | int | latd | ) |
Set lat degrees field.
| latd | new value |
| int GPRMC::setLATM | ( | double | latm | ) |
Set lat minutes field.
| latm | new value |
| int GPRMC::setLATH | ( | char | lath | ) |
Set lat hemisphere field.
| lath | new value |
| int GPRMC::setLOND | ( | int | lond | ) |
Set lon degrees field.
| lond | new value |
| int GPRMC::setLONM | ( | double | lonm | ) |
Set lon min field.
| lonm | new value |
| int GPRMC::setLONH | ( | char | lonh | ) |
Set lon hemisphere field.
| lonh | new value |
| int GPRMC::setSOG | ( | double | sog | ) |
Set speed over ground field.
| sog | new value |
| int GPRMC::setCOG | ( | double | cog | ) |
Set course over ground field.
| cog | new value |
| int GPRMC::setDATE | ( | time_t | date | ) |
Set date field.
| date | new value |
| int GPRMC::setMVM | ( | double | mvm | ) |
Set Magnetic Variation Magnitude.
| mvm | (0.0-180.0 degrees) |
| int GPRMC::setMVD | ( | char | mvd | ) |
Set Magnetic Variation Direction.
| mvd | ('E':East|'W':West) |
| const char * GPRMC::toString | ( | ) | [virtual] |
| ostream& operator<< | ( | ostream & | output, | |
| const GPRMC & | n | |||
| ) | [friend] |
output stream operator
Formats object for output stream insertion
| output | output stream handle | |
| n | Field object pointer |
1.5.4