MGUI::TOOL_GPS Class Reference

Class for derived graphic tools that support GPS devices or logs. More...

#include <mgui/toolgps.h>

Inheritance diagram for MGUI::TOOL_GPS:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~TOOL_GPS ()=0
MGUI::FORMCreateGPSForm (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

Detailed Description

Class for derived graphic tools that support GPS devices or logs.


Constructor & Destructor Documentation

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.

Parameters:
ControlNeed Need for control dialog or form
capability Additional capabilities

Member Function Documentation

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.

Parameters:
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.

Parameters:
point GPS point sent in Tool coordinates

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:36:18 2012 for TNTsdk 2012 by  doxygen 1.6.1