VR-Forces 5.0.1 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::DtStealthControlWidgetLogic Class Reference

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

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

Public Member Functions

virtual ~DtStealthControlWidgetLogic ()
 
void setCurrentObserver (const std::string &displayName, const DtUniqueID &id)
 
void onObserverCreationRequested (const std::string &observerName)
 
void onObserverDeletionRequested (const std::string &observerName)
 
DtObservercurrentObserver ()
 
virtual void setAutoHide (bool)
 
bool autoHide () const
 

Static Public Member Functions

static
DtStealthControlWidgetLogic
create (DtDe &de, DtStealthControlWidgetInterface *iFace)
 

Protected Member Functions

 DtStealthControlWidgetLogic (DtDe &de, DtStealthControlWidgetInterface *iFace)
 
void onInputDriverCreated (DtInputDriver *inputDriver)
 
void onInputDriverAboutToBeDestroyed (DtInputDriver *inputDriver)
 
void onObserverCreated (DtInputDriver *inputDriver, DtObserver *observer)
 
void onObserverAboutToBeDestroyed (DtInputDriver *inputDriver, DtObserver *observer)
 
void onCurrentObserverChanged (DtInputDriver *inputDriver, DtObserver *observer)
 
virtual void slot_activate (DtDe *subject)
 
virtual void slot_deactivate (DtDe *subject)
 
virtual void checkVisibility ()
 

Protected Attributes

DtDemyDe
 
DtStealthControlWidgetInterfacemyInterface
 
DtInputDrivermyInputDriver
 
std::string myCurrentObserverName
 
bool myAutoHide
 

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 Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)