#include <NMEA.h>

GPGGA Message Format
Public Types | |
| enum | FIELDS { GGAMSG = NMEA::FIELD_0, GGATIME, GGALATD, GGALATM, GGALATH, GGALOND, GGALONM, GGALONH, GGAQUAL, GGASIU, GGAHDOP, GGAALT, GGAALTU, GGAGEOH, GGAGEOHU, GGADUPT, GGADRID, GGACHK } |
| GPGGA Field mnemonics. More... | |
Public Member Functions | |
| GPGGA () | |
| Default no argument constructor. | |
| int | setTIME (time_t time) |
| Set time 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 | setQUAL (int qual) |
| Set signal quality field. | |
| int | setHDOP (double hdop) |
| Set horizontal dilution of precision field. | |
| int | setALT (double alt) |
| Set altitude field. | |
| int | setALTU (char altu) |
| Set altitude units field. | |
| int | setSIU (int siu) |
| Set satellites in use field. | |
| int | setGEOH (double alt) |
| Set geoid separation field. | |
| int | setGEOHU (char geohu) |
| Set geoid separation units field. | |
| int | setDUPT (int dupt) |
| Set age of differential correlation field. | |
| int | setDRID (int drid) |
| Set differential reference station ID field. | |
| virtual const char * | toString () |
| Format NMEA string using current field values. | |
Friends | |
| ostream & | operator<< (ostream &output, const GPGGA &n) |
| output stream operator | |
| enum GPGGA::FIELDS |
| int GPGGA::setTIME | ( | time_t | time | ) |
Set time field.
| time | new value |
| int GPGGA::setLATD | ( | int | latd | ) |
Set lat degrees field.
| latd | new value |
| int GPGGA::setLATM | ( | double | latm | ) |
Set lat minutes field.
| latm | new value |
| int GPGGA::setLATH | ( | char | lath | ) |
Set lat hemisphere field.
| lath | new value |
| int GPGGA::setLOND | ( | int | lond | ) |
Set lon degrees field.
| lond | new value |
| int GPGGA::setLONM | ( | double | lonm | ) |
Set lon min field.
| lonm | new value |
| int GPGGA::setLONH | ( | char | lonh | ) |
Set lon hemisphere field.
| lonh | new value |
| int GPGGA::setQUAL | ( | int | qual | ) |
Set signal quality field.
| qual | new value |
| int GPGGA::setHDOP | ( | double | hdop | ) |
Set horizontal dilution of precision field.
| hdop | new value |
| int GPGGA::setALT | ( | double | alt | ) |
Set altitude field.
| alt | new value |
| int GPGGA::setALTU | ( | char | altu | ) |
Set altitude units field.
| altu | new value |
| int GPGGA::setSIU | ( | int | siu | ) |
Set satellites in use field.
| siu | new value |
| int GPGGA::setGEOH | ( | double | geoh | ) |
Set geoid separation field.
| geoh | new value |
| int GPGGA::setGEOHU | ( | char | geohu | ) |
Set geoid separation units field.
| geohu | new value |
| int GPGGA::setDUPT | ( | int | dupt | ) |
Set age of differential correlation field.
| dupt | new value |
| int GPGGA::setDRID | ( | int | drid | ) |
Set differential reference station ID field.
| drid | new value |
| const char * GPGGA::toString | ( | ) | [virtual] |
| ostream& operator<< | ( | ostream & | output, | |
| const GPGGA & | n | |||
| ) | [friend] |
output stream operator
Formats object for output stream insertion
| output | output stream handle | |
| n | GPGGA object pointer |
1.5.4