VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtPaperMapLogic Class Reference

The logic for controlling and updating the DtPaperMapWidget and communicating with the DtOsgEarthPaperMapManager.

Public Member Functions

virtual ~DtPaperMapLogic ()
 
 DtPaperMapLogic (DtPaperMapLogic &in)=delete
 
DtPaperMapLogicoperator= (const DtPaperMapLogic &)=delete
 
virtual void onGroupAdded (std::string groupName)
 
virtual void onGroupRemoved (std::string groupName)
 
virtual void onGroupSelected (std::string groupName)
 
virtual void setActiveLayer (const std::string &groupName)
 
virtual void reset ()
 
virtual void slot_paperMapEnabledChanged (bool setting)
 
virtual void setCurrentObserver (DtObserver *observer)
 
virtual void onObserverAboutToBeDestroyed (DtInputDriver *inputDriver, DtObserver *observer)
 
virtual void onCurrentObserverChanged (DtInputDriver *inputDriver, DtObserver *observer)
 
virtual void onObserverModeChanged (DtObserver *observer, int newObserverMode)
 

Static Public Member Functions

static DtPaperMapLogiccreate (DtDe &de, DtPaperMapWidgetInterface *iFace)
 

Protected Member Functions

 DtPaperMapLogic (DtDe &de, DtPaperMapWidgetInterface *iFace)
 

Protected Attributes

DtDemyDe
 
DtPaperMapWidgetInterfacemyInterface
 
std::set< std::string > myGroups
 
DtSignalConnectionManager myConnectionManager
 
DtObservermyCurrentObserver
 

Constructor & Destructor Documentation

virtual makVrv::DtPaperMapLogic::~DtPaperMapLogic ( )
virtual

virtual DTOR

makVrv::DtPaperMapLogic::DtPaperMapLogic ( DtPaperMapLogic in)
delete

Copy Constructor not implemented - Copy not allowed.

makVrv::DtPaperMapLogic::DtPaperMapLogic ( DtDe de,
DtPaperMapWidgetInterface iFace 
)
protected

Constructor (protected - use ::create() )

Member Function Documentation

static DtPaperMapLogic* makVrv::DtPaperMapLogic::create ( DtDe de,
DtPaperMapWidgetInterface iFace 
)
static

Create and initialize the logic.

DtPaperMapLogic& makVrv::DtPaperMapLogic::operator= ( const DtPaperMapLogic )
delete

Assignment Operator not implemented - Assignment not allowed.

virtual void makVrv::DtPaperMapLogic::onGroupAdded ( std::string  groupName)
virtual

Add a new group to the drop down.

virtual void makVrv::DtPaperMapLogic::onGroupRemoved ( std::string  groupName)
virtual

Remove a group from the drop down.

virtual void makVrv::DtPaperMapLogic::onGroupSelected ( std::string  groupName)
virtual

Select a group from the drop down.

virtual void makVrv::DtPaperMapLogic::setActiveLayer ( const std::string &  groupName)
virtual

Set the observer to use in all other operations.

virtual void makVrv::DtPaperMapLogic::reset ( )
virtual

Remove all layers (except None)

virtual void makVrv::DtPaperMapLogic::slot_paperMapEnabledChanged ( bool  setting)
virtual

Gray out selection box if feature is disabled.

virtual void makVrv::DtPaperMapLogic::setCurrentObserver ( DtObserver observer)
virtual

Called by public setCurrentObserver()

virtual void makVrv::DtPaperMapLogic::onObserverAboutToBeDestroyed ( DtInputDriver inputDriver,
DtObserver observer 
)
virtual

called by signal when an observer is destroyed

virtual void makVrv::DtPaperMapLogic::onCurrentObserverChanged ( DtInputDriver inputDriver,
DtObserver observer 
)
virtual

called by signal when an observer is destroyed

virtual void makVrv::DtPaperMapLogic::onObserverModeChanged ( DtObserver observer,
int  newObserverMode 
)
virtual

called by signal when an observer changes observer mode

Member Data Documentation

DtDe& makVrv::DtPaperMapLogic::myDe
protected
DtPaperMapWidgetInterface* makVrv::DtPaperMapLogic::myInterface
protected
std::set<std::string> makVrv::DtPaperMapLogic::myGroups
protected
DtSignalConnectionManager makVrv::DtPaperMapLogic::myConnectionManager
protected
DtObserver* makVrv::DtPaperMapLogic::myCurrentObserver
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)