MGPS::SOURCE Class Reference
Base class for GPS Source.
More...
#include <mi32/mgps.h>
List of all members.
Detailed Description
Base class for GPS Source.
Member Enumeration Documentation
- Enumerator:
| STATUS_Good |
Good signal, data available.
|
| STATUS_NoResponse |
No response from device.
|
| STATUS_Initializing |
Initializing.
|
| STATUS_Acquiring |
Acquiring signal from satellites.
|
| STATUS_SignalLost |
Lost signal from satellites.
|
| STATUS_EndOfLogFile |
End of log file.
|
| STATUS_Error |
|
- Enumerator:
| SYMBOLTYPE_Stopped |
Symbol to show while stopped.
|
| SYMBOLTYPE_Moving |
Symbol to show while moving.
|
Constructor & Destructor Documentation
| virtual MGPS::SOURCE::~SOURCE |
( |
|
) |
[virtual] |
Member Function Documentation
| void MGPS::SOURCE::ClearLastData |
( |
|
) |
[inline, protected] |
| void MGPS::SOURCE::Close |
( |
|
) |
|
| void MGPS::SOURCE::CloseControlDialog |
( |
|
) |
|
Close control dialog for this source.
Create "form" for source controls.
| void MGPS::SOURCE::DeleteFromIni |
( |
|
) |
const [inline] |
Delete source definition from .ini file.
| MDLGPARENT MGPS::SOURCE::GetDlgParent |
( |
|
) |
const [inline, protected] |
| const char* MGPS::SOURCE::GetIniGroupKey |
( |
|
) |
const [inline] |
| bool MGPS::SOURCE::GetLastData |
( |
REPORT * |
gpsdata |
) |
const [inline] |
Get last GPS position.
- Returns:
- True if have data, false if not.
- Parameters:
-
| gpsdata | Position information returned |
| const MISTRING& MGPS::SOURCE::GetName |
( |
|
) |
const [inline] |
Get name of source.
- Returns:
- Name string, do not free.
| double MGPS::SOURCE::GetPollInterval |
( |
|
) |
const [inline] |
Get current polling interval.
- Returns:
- Polling interval in seconds.
| STATUS MGPS::SOURCE::GetStatus |
( |
|
) |
const [inline] |
Get current source status.
- Returns:
- Status.
Get symbol definition.
- Returns:
- Symbol.
- Parameters:
-
| bool MGPS::SOURCE::HasData |
( |
|
) |
const [inline, protected] |
See if has current GPS position.
| bool MGPS::SOURCE::IsDevice |
( |
|
) |
const [inline] |
Determine if source is a "device" or not.
| bool MGPS::SOURCE::IsManaged |
( |
|
) |
const [inline] |
Determine if source is "managed".
- Returns:
- True if managed, false if not.
| bool MGPS::SOURCE::IsOpen |
( |
|
) |
const [inline] |
Determine if source is "open".
- Returns:
- True if open, false if not.
| int MGPS::SOURCE::Manage |
( |
|
) |
|
Place source under control of "source manager".
| void MGPS::SOURCE::OpenControlDialog |
( |
|
) |
|
Open control dialog for source.
| void MGPS::SOURCE::ReadIniSettings |
( |
const char * |
IniGroup |
) |
[protected] |
Read user settings for source from Ini file.
| int MGPS::SOURCE::ReadNext |
( |
|
) |
[inline] |
Read next available value.
| void MGPS::SOURCE::SetCurrentData |
( |
const REPORT & |
gpsdata |
) |
[inline, protected] |
| void MGPS::SOURCE::SetCurrentStatus |
( |
STATUS |
status |
) |
[inline, protected] |
Set the current source status.
| void MGPS::SOURCE::SetDlgParent |
( |
MDLGPARENT |
dlgparent |
) |
[inline, protected] |
| void MGPS::SOURCE::SetName |
( |
const MISTRING & |
name |
) |
[inline] |
Set name of source.
- Parameters:
-
| void MGPS::SOURCE::SetPollInterval |
( |
double |
PollInterval |
) |
|
Set polling interval.
- Parameters:
-
| PollInterval | New polling interval in seconds |
| void MGPS::SOURCE::SetSymbol |
( |
SYMBOLTYPE |
symboltype, |
|
|
const SYMBOL & |
symbol, |
|
|
bool |
UpdateIni | |
|
) |
| | |
Set new symbol.
- Parameters:
-
| symboltype | Symbol type |
| symbol | New symbol definition |
| UpdateIni | Set if should update Ini settings |
| void MGPS::SOURCE::Unmanage |
( |
|
) |
|
| virtual void MGPS::SOURCE::v_Close |
( |
|
) |
[private, virtual] |
Create "form" for source controls.
| virtual void MGPS::SOURCE::v_DeleteFromIni |
( |
|
) |
const [private, virtual] |
Delete source definition from .ini file.
| virtual bool MGPS::SOURCE::v_IsDevice |
( |
|
) |
const [private, virtual] |
Determine if source is a "device" or not.
| virtual int MGPS::SOURCE::v_Open |
( |
|
) |
[private, pure virtual] |
| virtual int MGPS::SOURCE::v_ReadNext |
( |
|
) |
[private, pure virtual] |
Read next available value.
The documentation for this class was generated from the following file: