VR-Forces 4.0.4 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 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.
virtual void repositionAircraft (DtVector position, DtTaitBryan ori)
 Positions the aircraft at the given position with the given orientation.

Protected Attributes

makVrv::DtEntity3dFacademyEntityFacade
makVrv::DtEntityIndicatorWidgetmyEntityIndicator
makVrv::DtEntityInfoWidgetmyEntityInfoWidget
std::string myEntityDisplayName
bool myEntityInfoWidgetPinnedFlag
DtTaitBryan myOrientation
DtVector myPosition
DtVector myOrbitCenter
double myAngularVelocity
double myLastCommLineTime
double myLastUpdateTime
double myClockAngle
double myHeading
double myRadius
double myRoll

Constructor & Destructor Documentation

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::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.

virtual void DtExampleDriver::repositionAircraft ( DtVector  position,
DtTaitBryan  ori 
) [protected, virtual]

Positions the aircraft at the given position with the given orientation.


Member Data Documentation

std::string DtExampleDriver::myEntityDisplayName [protected]
DtTaitBryan DtExampleDriver::myOrientation [protected]
double DtExampleDriver::myClockAngle [protected]
double DtExampleDriver::myHeading [protected]
double DtExampleDriver::myRadius [protected]
double DtExampleDriver::myRoll [protected]

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)