![]() |
VR-Forces 4.0.4 Class Documentation
|
This driver demonstrates drawing communication lines. More...

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::DtEntityFacade * | createEntityFacade (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::DtEntityFacade * | myEntityFacade |
| double | myAngularVelocity |
| DtVector | myOrbitCenter |
| double | myLastCommLineTime |
| double | myLastUpdateTime |
| double | myClockAngle |
| double | myRadius |
| double | myRoll |
This driver demonstrates drawing communication lines.
typedef boost::unordered_map<int,makVrv::DtUniqueID> DtExampleCommLinesDriver::SceneObjectIdsByModelSet [protected] |
| virtual DtExampleCommLinesDriver::~DtExampleCommLinesDriver | ( | ) | [virtual] |
Virtual DTOR.
| virtual const std::string& DtExampleCommLinesDriver::className | ( | ) | const [virtual] |
Returns the driver's class name.
Implements makVrv::DtDriver.
| virtual bool DtExampleCommLinesDriver::onStart | ( | ) | [virtual] |
Performs startup logic for the driver.
Implements makVrv::DtDriver.
| virtual bool DtExampleCommLinesDriver::onStop | ( | ) | [virtual] |
Performs shutdown logic for the driver.
Implements makVrv::DtDriver.
| virtual bool DtExampleCommLinesDriver::onTick | ( | ) | [virtual] |
Performs update logic for the driver.
Implements makVrv::DtDriver.
| virtual void DtExampleCommLinesDriver::slot_displayEngineAdded | ( | const makVrv::DtDeRecord & | igRecord | ) | [virtual] |
Ensures the driver is properly restarted when a De is connected.
Reimplemented from makVrv::DtDriver.
| makVrv::DtEntityFacade* DtExampleCommLinesDriver::createEntityFacade | ( | makVrv::DtAgentManager & | am, |
| makVrv::DtElementID | elementId, | ||
| const makVrv::DtModelSetRealizationManager::ModelSetRealizations & | modelSets, | ||
| bool | distribute | ||
| ) | [protected] |
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.
double DtExampleCommLinesDriver::myAngularVelocity [protected] |
DtVector DtExampleCommLinesDriver::myOrbitCenter [protected] |
double DtExampleCommLinesDriver::myLastCommLineTime [protected] |
double DtExampleCommLinesDriver::myLastUpdateTime [protected] |
double DtExampleCommLinesDriver::myClockAngle [protected] |
double DtExampleCommLinesDriver::myRadius [protected] |
double DtExampleCommLinesDriver::myRoll [protected] |