Class for derived graphic tools that support GPS devices or logs. More...
#include <mgui/toolgps.h>

Public Member Functions | |
| virtual | ~TOOL_GPS ()=0 |
| MGUI::FORM * | CreateGPSForm (MGUI::LAYOUT_PANE_BASE &ParentPane) |
Protected Member Functions | |
| TOOL_GPS (TOOLCANVAS *canvas, CONTROLNEED ControlNeed=CONTROLNEED_None, CAPABILITY capability=CAPABILITY_Default) | |
Private Member Functions | |
| virtual void | v_OnGPSCoordinate (const DPOINT3D &point)=0 |
Class for derived graphic tools that support GPS devices or logs.
| virtual MGUI::TOOL_GPS::~TOOL_GPS | ( | ) | [pure virtual] |
Destructor.
| MGUI::TOOL_GPS::TOOL_GPS | ( | TOOLCANVAS * | canvas, | |
| CONTROLNEED | ControlNeed = CONTROLNEED_None, |
|||
| CAPABILITY | capability = CAPABILITY_Default | |||
| ) | [explicit, protected] |
Constructor.
| ControlNeed | Need for control dialog or form | |
| capability | Additional capabilities |
| MGUI::FORM* MGUI::TOOL_GPS::CreateGPSForm | ( | MGUI::LAYOUT_PANE_BASE & | ParentPane | ) |
Create the GPS form with the GPS selection and operational controls.
If you want to place the icons in your own CTRL_TOOLBAR, call this method before the tool's v_CreateControlForm() is called. TOOL_BASE::SetTransToMap() MUST be set for this to work.
| ParentPane | Parent pane |
| virtual void MGUI::TOOL_GPS::v_OnGPSCoordinate | ( | const DPOINT3D & | point | ) | [private, pure virtual] |
Called when GPS coordinate is obtained either through the GPS source timeout or the user pressing the "Track GPS" button.
| point | GPS point sent in Tool coordinates |
1.6.1