MGUI::TOOL_BASE::MANUAL_BASE Class Reference

Base class for manual entry classes implemented by tools based on TOOL_BASE. More...

#include <mgui/toolbase.h>

Inheritance diagram for MGUI::TOOL_BASE::MANUAL_BASE:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MANUAL_BASE ()
virtual ~MANUAL_BASE ()=0
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, TOOL_BASE::CTRLOPT ctrlopt)
void NotifyChange (CHANGESEQ changeseq, CHANGETYPE changetype)
void SetTransToolToMapCRS (const TRANS2D_MAPGEN &ToolToMapCRS)

Protected Member Functions

const TRANS2D_MAPGENGetToolToDisplayCRS () const

Private Member Functions

virtual void v_CreateContent (MGUI::LAYOUT_PANE_BASE &ParentPane)=0
virtual void v_OnDisplayCoordRefSysChange ()=0
virtual void v_OnNotifyChange (CHANGESEQ changeseq, CHANGETYPE changetype)

Detailed Description

Base class for manual entry classes implemented by tools based on TOOL_BASE.


Constructor & Destructor Documentation

MGUI::TOOL_BASE::MANUAL_BASE::MANUAL_BASE (  ) 

Constructor.

virtual MGUI::TOOL_BASE::MANUAL_BASE::~MANUAL_BASE (  )  [pure virtual]

Destructor.


Member Function Documentation

void MGUI::TOOL_BASE::MANUAL_BASE::Create ( MGUI::LAYOUT_PANE_BASE ParentPane,
TOOL_BASE::CTRLOPT  ctrlopt 
)

Create the content for the manual entry form.

const TRANS2D_MAPGEN& MGUI::TOOL_BASE::MANUAL_BASE::GetToolToDisplayCRS (  )  const [inline, protected]

Get the current Tool to manual entry Display Coordinate Reference System (CRS).

void MGUI::TOOL_BASE::MANUAL_BASE::NotifyChange ( CHANGESEQ  changeseq,
CHANGETYPE  changetype 
) [inline]

Send notification that "change" action has or will occur.

Parameters:
changeseq Sequence
changetype Type
void MGUI::TOOL_BASE::MANUAL_BASE::SetTransToolToMapCRS ( const TRANS2D_MAPGEN ToolToMapCRS  ) 

Set the transformation between Tool and a Map Coordinate Reference System (CRS) The 'Output' side CRS will be used as the initial display CRS for manual entry fields if not already set.

virtual void MGUI::TOOL_BASE::MANUAL_BASE::v_CreateContent ( MGUI::LAYOUT_PANE_BASE ParentPane  )  [private, pure virtual]

Virtual method to create the content of the manual entry form specific to each tool.

The CRS selection form will be created AFTER this method is called.

virtual void MGUI::TOOL_BASE::MANUAL_BASE::v_OnDisplayCoordRefSysChange (  )  [private, pure virtual]

Called when the user selects a different Display CRS than is currently used.

Allows updating tool coordinates when Display CRS is changed.

virtual void MGUI::TOOL_BASE::MANUAL_BASE::v_OnNotifyChange ( CHANGESEQ  changeseq,
CHANGETYPE  changetype 
) [private, virtual]

Called when change made to tool position, shape, size, etc.

Parameters:
changeseq Sequence
changetype Type

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

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