VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtStealthControlWidgetLogic Class Reference

The logic for controlling and updating the makVrv::DtStealthControlWidget. More...

Inheritance diagram for makVrv::DtStealthControlWidgetLogic:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtStealthControlWidgetLogic ()
 virtual DTOR
void setCurrentObserver (const std::string &displayName, const DtUniqueID &id)
 Set the observer to use in all other operations.
void onObserverCreationRequested (const std::string &observerName)
 Called when the GUI requests that an observer with a given name be created.
void onObserverDeletionRequested (const std::string &observerName)
 Called when the GUI requests that an observer with a given name be deleted.
DtObservercurrentObserver ()
virtual void setAutoHide (bool)
 If false, show interface. If true, hide if there is only one observer mode. Default is true.
bool autoHide () const

Static Public Member Functions

static
DtStealthControlWidgetLogic
create (DtDe &de, DtStealthControlWidgetInterface *iFace)
 Create and initialize the logic.

Protected Member Functions

 DtStealthControlWidgetLogic (DtDe &de, DtStealthControlWidgetInterface *iFace)
 Constructor (protected - use ::create() )
void onInputDriverCreated (DtInputDriver *inputDriver)
 called by signal when the input driver is created
void onInputDriverAboutToBeDestroyed (DtInputDriver *inputDriver)
 called by signal when the input driver is destroyed
void onObserverCreated (DtInputDriver *inputDriver, DtObserver *observer)
 called by signal when an observer is created
void onObserverAboutToBeDestroyed (DtInputDriver *inputDriver, DtObserver *observer)
 called by signal when an observer is destroyed
void onCurrentObserverChanged (DtInputDriver *inputDriver, DtObserver *observer)
virtual void slot_activate (DtDe *subject)
virtual void slot_deactivate (DtDe *subject)
virtual void checkVisibility ()
 If auto hide is on, and there is only one observer mode, hide, else show.

Protected Attributes

DtDemyDe
DtStealthControlWidgetInterfacemyInterface
DtInputDrivermyInputDriver
std::string myCurrentObserverName
bool myAutoHide

Detailed Description

The logic for controlling and updating the makVrv::DtStealthControlWidget.

Constructor & Destructor Documentation

virtual makVrv::DtStealthControlWidgetLogic::~DtStealthControlWidgetLogic ( )
virtual

virtual DTOR

makVrv::DtStealthControlWidgetLogic::DtStealthControlWidgetLogic ( DtDe de,
DtStealthControlWidgetInterface iFace 
)
protected

Constructor (protected - use ::create() )

Member Function Documentation

static DtStealthControlWidgetLogic* makVrv::DtStealthControlWidgetLogic::create ( DtDe de,
DtStealthControlWidgetInterface iFace 
)
static

Create and initialize the logic.

void makVrv::DtStealthControlWidgetLogic::setCurrentObserver ( const std::string &  displayName,
const DtUniqueID id 
)

Set the observer to use in all other operations.

void makVrv::DtStealthControlWidgetLogic::onObserverCreationRequested ( const std::string &  observerName)

Called when the GUI requests that an observer with a given name be created.

void makVrv::DtStealthControlWidgetLogic::onObserverDeletionRequested ( const std::string &  observerName)

Called when the GUI requests that an observer with a given name be deleted.

DtObserver* makVrv::DtStealthControlWidgetLogic::currentObserver ( )
virtual void makVrv::DtStealthControlWidgetLogic::setAutoHide ( bool  )
virtual

If false, show interface. If true, hide if there is only one observer mode. Default is true.

bool makVrv::DtStealthControlWidgetLogic::autoHide ( ) const
void makVrv::DtStealthControlWidgetLogic::onInputDriverCreated ( DtInputDriver inputDriver)
protected

called by signal when the input driver is created

void makVrv::DtStealthControlWidgetLogic::onInputDriverAboutToBeDestroyed ( DtInputDriver inputDriver)
protected

called by signal when the input driver is destroyed

void makVrv::DtStealthControlWidgetLogic::onObserverCreated ( DtInputDriver inputDriver,
DtObserver observer 
)
protected

called by signal when an observer is created

void makVrv::DtStealthControlWidgetLogic::onObserverAboutToBeDestroyed ( DtInputDriver inputDriver,
DtObserver observer 
)
protected

called by signal when an observer is destroyed

void makVrv::DtStealthControlWidgetLogic::onCurrentObserverChanged ( DtInputDriver inputDriver,
DtObserver observer 
)
protected
virtual void makVrv::DtStealthControlWidgetLogic::slot_activate ( DtDe subject)
protectedvirtual
virtual void makVrv::DtStealthControlWidgetLogic::slot_deactivate ( DtDe subject)
protectedvirtual
virtual void makVrv::DtStealthControlWidgetLogic::checkVisibility ( )
protectedvirtual

If auto hide is on, and there is only one observer mode, hide, else show.

Member Data Documentation

DtDe& makVrv::DtStealthControlWidgetLogic::myDe
protected
DtStealthControlWidgetInterface* makVrv::DtStealthControlWidgetLogic::myInterface
protected
DtInputDriver* makVrv::DtStealthControlWidgetLogic::myInputDriver
protected
std::string makVrv::DtStealthControlWidgetLogic::myCurrentObserverName
protected
bool makVrv::DtStealthControlWidgetLogic::myAutoHide
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)