VR-Vantage 1.4.1 API Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtExampleDriver Class Reference
Inheritance diagram for DtExampleDriver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtExampleDriver (makVrv::DtAgentManager &am)
 CTOR.
virtual ~DtExampleDriver ()
 Virtual DTOR.
Methods Inherited from makVrv::DtDriver
virtual const std::string & className () const
 Returns the driver's class name.
virtual bool onStart ()
 Performs startup logic for the driver.
virtual bool onStop ()
 Performs shutdown logic for the driver.
virtual bool onTick ()
 Performs update logic for the driver.
virtual void slot_displayEngineAdded (const makVrv::DtDeRecord &igRecord)
 Ensures the driver is properly restarted when a de is connected.

Protected Member Functions

virtual void slot_togglePinnedLabel (const makVrv::DtSelectionManager::IdSet &sel)
 Listens for entity labels being pinned / unpinned.
virtual void slot_mouseHoverChanged (bool isHovering)
 Listens for mouseover events on the entity indicator.
virtual void setHoverSignalsActive (bool active)
 Sets whether the driver is listening for mouseover events or not.
virtual void setEntityInfoWidgetActive (bool active)
 Sets whether the entity info widget is displayed or not.
virtual makVrv::DtUnicode generateInfoString () const
 Generates the information string displayed in the info widget.
virtual void updatePosition ()
 Updates the current position / orientation of the entity.

Protected Attributes

makVrv::DtEntity3dFacademyEntityFacade
makVrv::DtEntityIndicatorWidgetmyEntityIndicator
makVrv::DtEntityInfoWidgetmyEntityInfoWidget
DtVector myPosition
DtTaitBryan myOrientation
std::string myEntityDisplayName
bool myEntityInfoWidgetPinnedFlag
double myHeading
double myRoll
double myPitch

Constructor & Destructor Documentation

DtExampleDriver::DtExampleDriver ( makVrv::DtAgentManager am)

CTOR.

virtual DtExampleDriver::~DtExampleDriver ( ) [virtual]

Virtual DTOR.


Member Function Documentation

virtual const std::string& DtExampleDriver::className ( ) const [virtual]

Returns the driver's class name.

See also:
makVrv::DtDriver::className() const

Implements makVrv::DtDriver.

virtual bool DtExampleDriver::onStart ( ) [virtual]

Performs startup logic for the driver.

See also:
makVrv::DtDriver::start()

Implements makVrv::DtDriver.

virtual bool DtExampleDriver::onStop ( ) [virtual]

Performs shutdown logic for the driver.

See also:
makVrv::DtDriver::stop()

Implements makVrv::DtDriver.

virtual bool DtExampleDriver::onTick ( ) [virtual]

Performs update logic for the driver.

See also:
makVrv::DtDriver::tick()

Implements makVrv::DtDriver.

virtual void DtExampleDriver::slot_displayEngineAdded ( const makVrv::DtDeRecord igRecord) [virtual]

Ensures the driver is properly restarted when a de is connected.

See also:
makVrv::DtDriver::slot_displayEngineAdded( const makVrv::DtDeRecord& )

Reimplemented from makVrv::DtDriver.

virtual void DtExampleDriver::slot_togglePinnedLabel ( const makVrv::DtSelectionManager::IdSet sel) [protected, virtual]

Listens for entity labels being pinned / unpinned.

virtual void DtExampleDriver::slot_mouseHoverChanged ( bool  isHovering) [protected, virtual]

Listens for mouseover events on the entity indicator.

virtual void DtExampleDriver::setHoverSignalsActive ( bool  active) [protected, virtual]

Sets whether the driver is listening for mouseover events or not.

virtual void DtExampleDriver::setEntityInfoWidgetActive ( bool  active) [protected, virtual]

Sets whether the entity info widget is displayed or not.

virtual makVrv::DtUnicode DtExampleDriver::generateInfoString ( ) const [protected, virtual]

Generates the information string displayed in the info widget.

virtual void DtExampleDriver::updatePosition ( ) [protected, virtual]

Updates the current position / orientation of the entity.


Member Data Documentation

DtVector DtExampleDriver::myPosition [protected]
DtTaitBryan DtExampleDriver::myOrientation [protected]
std::string DtExampleDriver::myEntityDisplayName [protected]
double DtExampleDriver::myHeading [protected]
double DtExampleDriver::myRoll [protected]
double DtExampleDriver::myPitch [protected]

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


Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)