VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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 DTOR

Constructor (protected - use ::create() )


Member Function Documentation

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.

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

called by signal when the input driver is created

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

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) [protected, virtual]
virtual void makVrv::DtStealthControlWidgetLogic::slot_deactivate ( DtDe subject) [protected, virtual]
virtual void makVrv::DtStealthControlWidgetLogic::checkVisibility ( ) [protected, virtual]

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


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)