![]() |
VR-Forces 4.3 Class Documentation
|
The Sim Driver for HLA 1516e. More...

Public Member Functions | |
| DtHla1516eDriver (DtAgentManager &agentManager, const std::string &uniqueName, const std::string &className="DtHla1516eDriver") | |
| CTOR. | |
| virtual | ~DtHla1516eDriver () |
| DTOR. | |
| virtual void | realizeConfiguration (const DtConfiguration &config) |
| Realize the driver via a generic configuration. | |
| virtual DtConfiguration | createConfiguration () const |
| Create a configuration for the driver. | |
| const DtExerciseConnInitializer & | exerciseSettings () const |
| Get the exercise settings. | |
| void | setExerciseSettings (const DtExerciseConnInitializer &settings) |
| Set the exercise settings. | |
| void | setAppNumber (int appNumber) |
| set the connection's application number | |
| void | setSiteId (int siteId) |
| Set the connection's site ID. | |
Public Member Functions inherited from makVrv::DtVrlinkDriver | |
| DtVrlinkDriver (DtAgentManager &agentManager, const std::string &uniqueName, const std::string &className) | |
| CTOR. | |
| virtual | ~DtVrlinkDriver () |
| DTOR. | |
| virtual const std::string & | className () const |
| Get this instance's class name. | |
| virtual bool | observersPublished () const |
| Get observer publishing status for this driver. | |
| virtual void | setObserversPublished (bool isPublished) |
| Turn on or off observer publishing for this driver. | |
| virtual bool | viewControlEnabled () const |
| Get view control status for this driver. | |
| virtual void | setViewControlEnabled (bool enabled) |
| Turn on or off acceptance of view controls for this driver. | |
| void | setUseTopoForFlatEarthVectorConversion (bool flag) |
| We used to use a topo system to convert flat earth vectors. | |
| bool | useTopoForFlatEarthVectorConversion () const |
| virtual void | queueDriverFunction (const boost::function< void()> &function) |
| Put a function in the sim function queue, for threadsafe calling. | |
| virtual void | queueConnectionFunction (const boost::function< void()> &function) |
| Put a function in the sim function queue, for threadsafe calling. | |
| bool | useThreadFlag () const |
| Returns value of thread flag. | |
| DtConnection * | connection () |
Public Member Functions inherited from makVrv::DtDriver | |
| DtDriver (DtAgentManager &agentManager, const std::string &instanceName) | |
| CTOR. | |
| virtual | ~DtDriver () |
| DTOR. | |
| DtAgentManager & | agentManager () |
| Get the master scene for this host. | |
| virtual DtAgentManagerInterface & | sceneInterface () |
| Get the scene manager interface for creating agents. | |
| bool | started () const |
| Get this driver's active state. | |
| virtual const std::string & | instanceName () const |
| Get this driver's instance name. | |
| virtual bool | autoStart () const |
| Get whether this driver is set to automatically start if it is persistent. | |
| virtual void | setAutoStart (bool autoStart) |
| Set whether this driver automatically starts if it is persistent. | |
| virtual bool | isWindowDependent () const |
| Get whether this driver is set to automatically start when the first window is created and stop when the last window is destroyed. | |
| virtual void | setIsWindowDependent (bool dep) |
| Set whether this driver is set to automatically start when the first window is created and stop when the last window is destroyed. | |
| virtual void | setIsUserControllable (bool) |
| Set whether this driver can be started and stopped by the user. | |
| virtual bool | isUserControllable () const |
| Get whether this driver can be started and stopped by the user. | |
| virtual void | setIsPersistent (bool per) |
| Set if the driver is persistent and should be saved between runs. | |
| virtual bool | isPersistent () const |
| Get if the driver is persistent and should be saved between runs. | |
| virtual bool | isOnDriverSelectionList () const |
| Returns whether or not this driver is to be automatically started/stopped from the driver selection list. | |
| virtual void | setOnDriverSelectionList (bool) |
| Sets whether or not this item is on the driver selection list. | |
| bool | objectFromAgentManager (const DtUniqueID &id) const |
| check to see if the object was created using this driver's agent manager. | |
Protected Member Functions | |
| virtual DtConnection * | createConnection () |
| Abstract create simulation function called onStart. | |
| virtual void | slot_onObserverCreated (DtObserver *observer) |
| virtual void | slot_onObserverDestroyed (DtObserver *observer) |
Protected Member Functions inherited from makVrv::DtVrlinkDriver | |
| virtual bool | onStart () |
| Start the host output. | |
| virtual bool | onStop () |
| Stop the host output. | |
| virtual void | run () |
| Function that will be called when the thread is started. | |
| void | startPublishingObservers () |
| Start publishing observers. | |
| void | stopPublishingObservers () |
| Stop publishing observers. | |
| virtual bool | onTick () |
| Tick, this calls threadTick if the driver is not configured to use a separate thread. | |
| void | startThread () |
| Attempt to start the thread. | |
| void | stopThread () |
| Attempt to stop the thread, blocking until the thread stops. | |
| void | setConnectionState (bool state) |
| Set the connection state of the driver. | |
| virtual void | slot_displayEngineAdded (const DtDeRecord &igRecord) |
| Respond when a display engine is added. | |
| virtual void | startPublishingObserver (DtObserver *observer) |
| Start publishing an observer on the current connection. | |
| virtual void | stopPublishingObserver (DtObserver *observer) |
| Stop publishing an observer on the current connection. | |
| virtual void | updateObservers () |
| Update the observer position/orientations on the simulation. | |
| void | indicatorMouseDown (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| void | indicatorMouseUp (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| void | indicatorMouseDblClick (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| virtual void | runFunctionQueue (FunctionCallQueue &queue) |
| Execute a function queue. | |
| virtual void | connectToDynamicSignals () |
| Connect to signals. | |
| virtual void | disconnectFromDynamicSignals () |
| Disconnect to any signals connected to in connectToDynamicSignals() | |
| virtual void | slot_onViewChanged (DtViewStateProcessor::ObserverAction &action) |
| Connect to signals. | |
| virtual void | slot_onCurrentSelectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected) |
| Connect to signals. | |
| virtual void | slot_onVertexSelected (const DtUniqueID &selected, const DtUniqueID &parentOfSelected) |
| Connect to signals. | |
| virtual void | slot_onVertexDeselected (const DtUniqueID &deselected, const DtUniqueID &parentOfDeselected) |
| Connect to signals. | |
| virtual void | slot_onEntityInfoToggled (const DtSelectionManager::IdSet &entityIds) |
| Connect to signals. | |
| virtual void | slot_onEntityIndicatorMouseDown (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| Slot for handling entity indicator clicks; passes them to the input driver. | |
| virtual void | slot_onEntityIndicatorMouseUp (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| Connect to signals. | |
| virtual void | slot_onEntityIndicatorMouseDblClick (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| Connect to signals. | |
| virtual void | slot_onTacticalGraphicIndicatorMouseDown (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| Slot for handling tacticalGraphic indicator clicks; passes them to the input driver. | |
| virtual void | slot_onTacticalGraphicIndicatorMouseUp (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| Connect to signals. | |
| virtual void | slot_onTacticalGraphicIndicatorMouseDblClick (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| Connect to signals. | |
| virtual void | slot_onCoordinateSystemChanged (const std::string &coordinateSystem, const std::string &coordinateParameters) |
| Slot for handling coordinate system changes. | |
| virtual void | slot_onObserverObjectAttached (const std::string &observerName, DtUniqueID id) |
| Slot called when an observer attaches to an object. | |
| virtual void | slot_onObserverDetached (const std::string &observerName) |
| Slot called when an observer detaches. | |
| virtual void | attachObserverObject (const std::string &observerName, DtUniqueID id) |
| Attach an object to an observer. | |
| virtual void | toggleEntitySelected (const DtUniqueID &id) |
| Toggle selection of an entity. | |
| virtual void | performObserverAction (DtViewStateProcessor::ObserverAction &action) |
| Connect to signals. | |
Protected Member Functions inherited from makVrv::DtDriver | |
| void | applyChangesAndDelete (DtElementChanges *changes) |
| Function for apply changes from a changes object and deleting it. | |
| void | reportElementCreated (DtElementID id, DtElementID parentId, DtElementEntry::ElementType type) |
| Report an element created. | |
| void | reportElementAttribute (DtElementID id, DtElementAttribute *attribute) |
| Report an element attribute changed. | |
| void | reportElementDestroyed (DtElementID id) |
| Report an element destroyed. | |
| void | start () |
| Start the driver. | |
| void | stop () |
| Stop the driver. | |
| bool | tick () |
| Tick the host driver. | |
| virtual void | setInstanceName (const std::string &name) |
| set the Instance name. | |
| virtual void | installAccessories () |
| Installs accessories on this driver. | |
| virtual void | uninstallAccessories () |
| Removes accessories from this driver. | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtVrlinkDriver | |
| boost::signal< void(DtConnection *)> | signal_simulationCreated |
| This signal is emitted when the simulation is created. | |
| boost::signal< void(DtConnection *)> | signal_simulationAboutToBeDestroyed |
| This signal is emitted when the simulation is about to be destroyed. | |
Protected Types inherited from makVrv::DtVrlinkDriver | |
| enum | FunctionType { Create, Update, Destroy } |
| typedef DtLockedBufferedQueue < boost::function< void()> > | FunctionCallQueue |
| typedef std::vector < boost::function< void()> > | FunctionCallList |
The Sim Driver for HLA 1516e.
| makVrv::DtHla1516eDriver::DtHla1516eDriver | ( | DtAgentManager & | agentManager, |
| const std::string & | uniqueName, | ||
| const std::string & | className = "DtHla1516eDriver" |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Realize the driver via a generic configuration.
Reimplemented from makVrv::DtDriver.
|
virtual |
Create a configuration for the driver.
Reimplemented from makVrv::DtDriver.
|
inline |
Get the exercise settings.
| void makVrv::DtHla1516eDriver::setExerciseSettings | ( | const DtExerciseConnInitializer & | settings | ) |
Set the exercise settings.
| void makVrv::DtHla1516eDriver::setAppNumber | ( | int | appNumber | ) |
set the connection's application number
| void makVrv::DtHla1516eDriver::setSiteId | ( | int | siteId | ) |
Set the connection's site ID.
|
protectedvirtual |
Abstract create simulation function called onStart.
Implements makVrv::DtVrlinkDriver.
|
protectedvirtual |
Reimplemented from makVrv::DtVrlinkDriver.
|
protectedvirtual |
Reimplemented from makVrv::DtVrlinkDriver.
|
protected |
|
protected |
|
protected |