![]() |
VR-Forces 4.0.4 Class Documentation
|
The logic for controlling and updating the makVrv::DtStealthControlWidget. More...

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. | |
| DtObserver * | currentObserver () |
| 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 | |
| DtDe & | myDe |
| DtStealthControlWidgetInterface * | myInterface |
| DtInputDriver * | myInputDriver |
| std::string | myCurrentObserverName |
| bool | myAutoHide |
The logic for controlling and updating the makVrv::DtStealthControlWidget.
| virtual makVrv::DtStealthControlWidgetLogic::~DtStealthControlWidgetLogic | ( | ) | [virtual] |
virtual DTOR
| makVrv::DtStealthControlWidgetLogic::DtStealthControlWidgetLogic | ( | DtDe & | de, |
| DtStealthControlWidgetInterface * | iFace | ||
| ) | [protected] |
Constructor (protected - use ::create() )
| 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.
| virtual void makVrv::DtStealthControlWidgetLogic::setAutoHide | ( | bool | ) | [virtual] |
If false, show interface. If true, hide if there is only one observer mode. Default is true.
| 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 | ) | [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.
DtDe& makVrv::DtStealthControlWidgetLogic::myDe [protected] |
std::string makVrv::DtStealthControlWidgetLogic::myCurrentObserverName [protected] |
bool makVrv::DtStealthControlWidgetLogic::myAutoHide [protected] |