VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
DtExampleCommLinesDriver Class Reference

This driver demonstrates drawing communication lines. More...

Inheritance diagram for DtExampleCommLinesDriver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtExampleCommLinesDriver (makVrv::DtAgentManager &am)
 CTOR.
virtual ~DtExampleCommLinesDriver ()
 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 Types

typedef boost::unordered_map
< int, makVrv::DtUniqueID
SceneObjectIdsByModelSet

Protected Member Functions

makVrv::DtEntityFacadecreateEntityFacade (makVrv::DtAgentManager &am, makVrv::DtElementID elementId, const makVrv::DtModelSetRealizationManager::ModelSetRealizations &modelSets, bool distribute)
 Creates an entity facade for an F-18.
virtual void updatePosition ()
 Updates the current position / orientation of the entity.
virtual void updateCommLines (int modelSet)
 Instantiates comm lines if they have timed out.
virtual void repositionAircraft (DtVector position, DtTaitBryan ori)
 Positions the aircraft at the given coordinates.

Protected Attributes

SceneObjectIdsByModelSet mySceneObjectIds
makVrv::DtEntityFacademyEntityFacade
double myAngularVelocity
DtVector myOrbitCenter
double myLastCommLineTime
double myLastUpdateTime
double myClockAngle
double myRadius
double myRoll

Detailed Description

This driver demonstrates drawing communication lines.


Member Typedef Documentation

typedef boost::unordered_map<int,makVrv::DtUniqueID> DtExampleCommLinesDriver::SceneObjectIdsByModelSet [protected]

Constructor & Destructor Documentation

CTOR.

Virtual DTOR.


Member Function Documentation

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

Returns the driver's class name.

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

Implements makVrv::DtDriver.

virtual bool DtExampleCommLinesDriver::onStart ( ) [virtual]

Performs startup logic for the driver.

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

Implements makVrv::DtDriver.

virtual bool DtExampleCommLinesDriver::onStop ( ) [virtual]

Performs shutdown logic for the driver.

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

Implements makVrv::DtDriver.

virtual bool DtExampleCommLinesDriver::onTick ( ) [virtual]

Performs update logic for the driver.

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

Implements makVrv::DtDriver.

virtual void DtExampleCommLinesDriver::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.

Creates an entity facade for an F-18.

Properly initializes the individual 3d/2d/XR facades.

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

Updates the current position / orientation of the entity.

virtual void DtExampleCommLinesDriver::updateCommLines ( int  modelSet) [protected, virtual]

Instantiates comm lines if they have timed out.

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

Positions the aircraft at the given coordinates.


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)