#include <mi32/mgps.h>
Inheritance diagram for MGPS::SOURCE:

Public Types | |
| enum | STATUS { STATUS_Good = 0, STATUS_NoResponse = 1, STATUS_Initializing = 2, STATUS_Acquiring = 3, STATUS_SignalLost = 4, STATUS_EndOfLogFile = 5 } |
| enum | SYMBOLTYPE { SYMBOLTYPE_Stopped = 0, SYMBOLTYPE_Moving = 1 } |
Public Member Functions | |
| void | Close () |
| void | CloseControlDialog () |
| MGUI::FORM * | CreateControlForm (MGUI::LAYOUT_PANE_BASE &parentpane) |
| void | DeleteFromIni () const |
| const SPATREF::COORDREFSYS & | GetCoordRefSys () const |
| const char * | GetIniGroupKey () const |
| bool | GetLastData (REPORT *gpsdata) const |
| const MISTRING & | GetName () const |
| double | GetPollInterval () const |
| STATUS | GetStatus () const |
| const SYMBOL & | GetSymbol (SYMBOLTYPE symboltype) const |
| bool | IsDevice () const |
| bool | IsManaged () const |
| bool | IsOpen () const |
| int | Manage () |
| ERRVALUE | Open () |
| void | OpenControlDialog () |
| int | ReadNext () |
| void | SetName (const MISTRING &name) |
| void | SetPollInterval (double PollInterval) |
| void | SetSymbol (SYMBOLTYPE symboltype, const SYMBOL &symbol, bool UpdateIni) |
| SOURCE () | |
| void | Unmanage () |
| virtual | ~SOURCE () |
Protected Member Functions | |
| void | ClearLastData () |
| MDLGPARENT | GetDlgParent () const |
| bool | HasData () const |
| void | ReadIniSettings (const char *IniGroup) |
| void | SetCurrentData (const REPORT &gpsdata) |
| void | SetCurrentStatus (STATUS status) |
| void | SetDlgParent (MDLGPARENT dlgparent) |
Private Member Functions | |
| virtual void | v_Close () |
| virtual MGUI::FORM * | v_CreateControlForm (MGUI::LAYOUT_PANE_BASE &parentpane)=0 |
| virtual void | v_DeleteFromIni () const |
| virtual bool | v_IsDevice () const |
| virtual int | v_Open ()=0 |
| virtual int | v_ReadNext ()=0 |
Classes | |
| class | OBSERVER |
| Observer class to derive from to be notified of events on this source. More... | |
Definition at line 278 of file mgps.h.
| enum MGPS::SOURCE::STATUS |
| MGPS::SOURCE::SOURCE | ( | ) |
Constructor.
| virtual MGPS::SOURCE::~SOURCE | ( | ) | [virtual] |
Destructor.
| void MGPS::SOURCE::ClearLastData | ( | ) | [inline, protected] |
| void MGPS::SOURCE::Close | ( | ) |
| void MGPS::SOURCE::CloseControlDialog | ( | ) |
Close control dialog for this source.
| MGUI::FORM* MGPS::SOURCE::CreateControlForm | ( | MGUI::LAYOUT_PANE_BASE & | parentpane | ) | [inline] |
| void MGPS::SOURCE::DeleteFromIni | ( | ) | const [inline] |
| const SPATREF::COORDREFSYS& MGPS::SOURCE::GetCoordRefSys | ( | ) | const [inline] |
| MDLGPARENT MGPS::SOURCE::GetDlgParent | ( | ) | const [inline, protected] |
| bool MGPS::SOURCE::GetLastData | ( | REPORT * | gpsdata | ) | const [inline] |
| const MISTRING& MGPS::SOURCE::GetName | ( | ) | const [inline] |
| double MGPS::SOURCE::GetPollInterval | ( | ) | const [inline] |
| STATUS MGPS::SOURCE::GetStatus | ( | ) | const [inline] |
| const SYMBOL& MGPS::SOURCE::GetSymbol | ( | SYMBOLTYPE | symboltype | ) | const [inline] |
| bool MGPS::SOURCE::HasData | ( | ) | const [inline, protected] |
| bool MGPS::SOURCE::IsDevice | ( | ) | const [inline] |
| bool MGPS::SOURCE::IsManaged | ( | ) | const [inline] |
| bool MGPS::SOURCE::IsOpen | ( | ) | const [inline] |
| int MGPS::SOURCE::Manage | ( | ) |
Place source under control of "source manager".
| ERRVALUE MGPS::SOURCE::Open | ( | ) |
Open source.
| 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] |
| void MGPS::SOURCE::SetCurrentData | ( | const REPORT & | gpsdata | ) | [inline, protected] |
| void MGPS::SOURCE::SetCurrentStatus | ( | STATUS | status | ) | [inline, protected] |
| void MGPS::SOURCE::SetDlgParent | ( | MDLGPARENT | dlgparent | ) | [inline, protected] |
| void MGPS::SOURCE::SetName | ( | const MISTRING & | name | ) | [inline] |
| void MGPS::SOURCE::SetPollInterval | ( | double | PollInterval | ) |
Set polling interval.
| PollInterval | New polling interval in seconds |
| void MGPS::SOURCE::SetSymbol | ( | SYMBOLTYPE | symboltype, | |
| const SYMBOL & | symbol, | |||
| bool | UpdateIni | |||
| ) |
Set new symbol.
| symboltype | Symbol type |
| symbol | New symbol definition |
| UpdateIni | Set if should update Ini settings |
| void MGPS::SOURCE::Unmanage | ( | ) |
Unmanage source.
| virtual void MGPS::SOURCE::v_Close | ( | ) | [private, virtual] |
Close source.
| virtual MGUI::FORM* MGPS::SOURCE::v_CreateControlForm | ( | MGUI::LAYOUT_PANE_BASE & | parentpane | ) | [private, pure 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] |
Open source.
| virtual int MGPS::SOURCE::v_ReadNext | ( | ) | [private, pure virtual] |
Read next available value.
1.5.2