GPS source device. More...
#include <mi32/mgps.h>

Classes | |
| class | HWPARM |
| Device hardware parameters. More... | |
Public Types | |
| enum | FORMAT { FORMAT_GPX = 0, FORMAT_MI = 1 } |
| enum | PROTOCOL { PROTOCOL_NoDevice = 0, PROTOCOL_NMEA = 1, PROTOCOL_TAIP = 2, PROTOCOL_GARMIN = 3 } |
Public Member Functions | |
| SOURCE_DEVICE (const HWPARM &portparm) | |
| virtual | ~SOURCE_DEVICE () |
| int | GetDeviceNum () const |
| FORMAT | GetFormat () const |
| ERRVALUE | RecordStart (const FILEPATH &filepath) |
| void | RecordStop () |
| void | SetFormat (FORMAT format) |
Static Public Member Functions | |
| static void | CreateDefault () |
GPS source device.
| MGPS::SOURCE_DEVICE::SOURCE_DEVICE | ( | const HWPARM & | portparm | ) |
Constructor.
| virtual MGPS::SOURCE_DEVICE::~SOURCE_DEVICE | ( | ) | [virtual] |
Destructor.
| static void MGPS::SOURCE_DEVICE::CreateDefault | ( | ) | [static] |
Create and manage default GPS source devices as defined in Ini file.
| int MGPS::SOURCE_DEVICE::GetDeviceNum | ( | ) | const [inline] |
Get the device number.
| FORMAT MGPS::SOURCE_DEVICE::GetFormat | ( | ) | const [inline] |
Get output log format.
Begin recording to specified log file.
| void MGPS::SOURCE_DEVICE::RecordStop | ( | ) |
Stop recording.
| void MGPS::SOURCE_DEVICE::SetFormat | ( | FORMAT | format | ) | [inline] |
Set output log format.
1.6.1