#include <GPSMonitorThread.h>

Public Member Functions | |
| GPSMonitorThread (class MapFrame *pFrame) | |
| GPS monitoring thread constructor. | |
| virtual void * | Entry () |
| GPS monitor worker thread. | |
| IGPSInterface * | CreateGPSObject (EGPSType eGPSType) |
| Constructs the requested type of GPS interface object. | |
Static Public Member Functions | |
| static EGPSType | GetGPSType () |
| Returns GPS type listed in registry. | |
| static void | SetGPSType (EGPSType eType) |
| Sets GPS type in registry. | |
| static EGPSType | GetLastSuccessfulAutoDetectGPSType () |
| Returns the last type of GPS unit that was last autodetected. | |
| static void | SetLastSuccessfulAutoDetectGPSType (EGPSType eType) |
| Updates the last type of GPS unit that was autodetected. | |
Private Attributes | |
| class MapFrame * | m_pFrame |
| Pointer to parent. | |
Definition at line 74 of file GPSMonitorThread.h.
| GPSMonitorThread::GPSMonitorThread | ( | class MapFrame * | pFrame | ) |
| void * GPSMonitorThread::Entry | ( | ) | [virtual] |
GPS monitor worker thread.
If autodetection is enabled, this will construct each type of GPS unit, ask it to autodetect, and keep cycling until one of them reports a locked gps unit.
This will then call that GPS unit's GetData over and over again to retrieve GPS data and pass that up to MapFrame.
Definition at line 164 of file GPSMonitorThread.cpp.
| IGPSInterface * GPSMonitorThread::CreateGPSObject | ( | EGPSType | eGPSType | ) |
Constructs the requested type of GPS interface object.
| eGPSType | Requested type of GPS interface. |
Definition at line 78 of file GPSMonitorThread.cpp.
| EGPSType GPSMonitorThread::GetGPSType | ( | ) | [static] |
| void GPSMonitorThread::SetGPSType | ( | EGPSType | eType | ) | [static] |
| EGPSType GPSMonitorThread::GetLastSuccessfulAutoDetectGPSType | ( | ) | [static] |
Returns the last type of GPS unit that was last autodetected.
Definition at line 134 of file GPSMonitorThread.cpp.
| void GPSMonitorThread::SetLastSuccessfulAutoDetectGPSType | ( | EGPSType | eType | ) | [static] |
Updates the last type of GPS unit that was autodetected.
Definition at line 146 of file GPSMonitorThread.cpp.
class MapFrame* GPSMonitorThread::m_pFrame [private] |
1.5.5