![]() |
VR-Forces 4.8 Class Documentation
|
The Sim Driver for HLA 1.3. More...

Public Member Functions | |
| DtHla13Driver (DtAgentManager &agentManager, const std::string &uniqueName, const std::string &className="DtHla13Driver") | |
| CTOR. More... | |
| virtual | ~DtHla13Driver () |
| DTOR. More... | |
| virtual void | realizeConfiguration (const DtConfiguration &config) |
| Realize the driver via a generic configuration. More... | |
| virtual DtConfiguration | createConfiguration () const |
| Create a configuration for the driver. More... | |
| const DtExerciseConnInitializer & | exerciseSettings () const |
| Get the exercise settings. More... | |
| void | setExerciseSettings (const DtExerciseConnInitializer &settings) |
| Set the exercise settings. More... | |
| void | setAppNumber (int appNumber) |
| Set the connection's application number. More... | |
| void | setSiteId (int siteId) |
| Set the connection's site ID. More... | |
| int | siteId () |
| Current site ID. More... | |
| int | appNumber () |
| Current app number. More... | |
Public Member Functions inherited from makVrv::DtVrlinkDriver | |
| DtVrlinkDriver (DtAgentManager &agentManager, const std::string &uniqueName, const std::string &className) | |
| CTOR. More... | |
| virtual | ~DtVrlinkDriver () |
| DTOR. More... | |
| virtual const std::string & | className () const |
| Get this instance's class name. More... | |
| virtual bool | observersPublished () const |
| Get observer publishing status for this driver. More... | |
| virtual void | setObserversPublished (bool isPublished) |
| Turn on or off observer publishing for this driver. More... | |
| virtual bool | overrideGlobalViewControl () const |
| Get whether this driver uses its own local view control enabled flag or the global value. More... | |
| virtual void | setOverrideGlobalViewControl (bool enabled) |
| SGet whether this driver uses its own local view control enabled flag or the global value. More... | |
| virtual bool | viewControlEnabled () const |
| Get view control status for this driver; returns either the local or the global setting, depending on the value of overrideGlobalViewControl. More... | |
| virtual void | setLocalViewControlEnabled (bool enabled) |
| Turn on or off acceptance of view controls for this driver; used if override global view control is true. More... | |
| virtual bool | localViewControlEnabled () const |
| Get acceptance of view controls for this driver; used if override global view control is true. More... | |
| virtual void | setConnectionFrameTime (double frameTime) |
| Set the connection frame time. More... | |
| virtual double | connectionFrameTime () const |
| Get the connection frame time. More... | |
| void | setUseTopoForFlatEarthVectorConversion (bool flag) |
| We used to use a topo system to convert flat earth vectors. More... | |
| bool | useTopoForFlatEarthVectorConversion () const |
| virtual void | queueDriverFunction (const boost::function< void()> &function) |
| Put a function in the sim function queue, for threadsafe calling. More... | |
| virtual void | queueConnectionFunction (const boost::function< void()> &function) |
| Put a function in the sim function queue, for threadsafe calling. More... | |
| bool | useThreadFlag () const |
| Returns value of thread flag. More... | |
| DtConnection * | connection () |
Public Member Functions inherited from makVrv::DtDriver | |
| DtDriver (DtAgentManager &agentManager, const std::string &instanceName) | |
| CTOR. More... | |
| virtual | ~DtDriver () |
| DTOR. More... | |
| DtAgentManager & | agentManager () |
| Get the master scene for this host. More... | |
| virtual DtAgentManagerInterface & | sceneInterface () |
| Get the scene manager interface for creating agents. More... | |
| bool | started () const |
| Get this driver's active state. More... | |
| virtual const std::string & | instanceName () const |
| Get this driver's instance name. More... | |
| virtual bool | autoStart () const |
| Get whether this driver is set to automatically start if it is persistent. More... | |
| virtual void | setAutoStart (bool autoStart) |
| Set whether this driver automatically starts if it is persistent. More... | |
| 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. More... | |
| 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. More... | |
| virtual void | setIsUserControllable (bool) |
| Set whether this driver can be started and stopped by the user. More... | |
| virtual bool | isUserControllable () const |
| Get whether this driver can be started and stopped by the user. More... | |
| virtual void | setIsPersistent (bool per) |
| Set if the driver is persistent and should be saved between runs. More... | |
| virtual bool | isPersistent () const |
| Get if the driver is persistent and should be saved between runs. More... | |
| virtual bool | isOnDriverSelectionList () const |
| Returns whether or not this driver is to be automatically started/stopped from the driver selection list. More... | |
| virtual void | setOnDriverSelectionList (bool) |
| Sets whether or not this item is on the driver selection list. More... | |
| bool | objectFromAgentManager (const DtUniqueID &id) const |
| check to see if the object was created using this driver's agent manager. More... | |
Protected Member Functions | |
| virtual DtConnection * | createConnection () |
| Abstract create DtConnection function called onStart. More... | |
| virtual DtAgentManagerInterface & | agentManagerForConnection () |
| Get the appropriate agent manager for the connection to use. More... | |
| 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. More... | |
| virtual bool | onStop () |
| Stop the host output. More... | |
| virtual void | run () |
| Function that will be called when the thread is started. More... | |
| void | startPublishingObservers () |
| Start publishing observers. More... | |
| void | stopPublishingObservers () |
| Stop publishing observers. More... | |
| virtual bool | onTick () |
| Tick, this calls threadTick if the driver is not configured to use a separate thread. More... | |
| void | startThread () |
| Attempt to start the thread. More... | |
| void | stopThread () |
| Attempt to stop the thread, blocking until the thread stops. More... | |
| void | setConnectionState (bool state) |
| Set the connection state of the driver. More... | |
| virtual void | slot_displayEngineAdded (const DtDeRecord &igRecord) |
| Respond when a display engine is added. More... | |
| virtual void | slot_globalViewControlEnabledSet (bool) |
| Respond when the global view control setting changes. More... | |
| virtual void | startPublishingObserver (DtObserver *observer) |
| Start publishing an observer on the current connection. More... | |
| virtual void | stopPublishingObserver (DtObserver *observer) |
| Stop publishing an observer on the current connection. More... | |
| virtual void | updateObservers () |
| Update the observer position/orientations on the simulation. More... | |
| virtual void | slot_pause () |
| Slot called when the DtDe's pause signal is emitted. More... | |
| virtual void | slot_resume () |
| Slot called when the DtDe's resume signal is emitted/ If a connection exists, this will be communicated to it. More... | |
| 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. More... | |
| virtual void | connectToDynamicSignals () |
| Connect to signals. More... | |
| virtual void | disconnectFromDynamicSignals () |
| Disconnect to any signals connected to in connectToDynamicSignals() More... | |
| virtual void | slot_onViewChanged (DtViewStateProcessor::ObserverAction &action) |
| virtual void | slot_onCurrentSelectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected) |
| virtual void | slot_onVertexSelected (const DtUniqueID &selected, const DtUniqueID &parentOfSelected) |
| virtual void | slot_onVertexDeselected (const DtUniqueID &deselected, const DtUniqueID &parentOfDeselected) |
| virtual void | slot_onEntityInfoToggled (const DtSelectionManager::IdSet &entityIds) |
| virtual void | slot_entityTrackHistoryColorOverride (const DtUniqueID &entityId, const DtColorValue &color, bool overrideColor) |
| slot for handling the selecion manager event when a track history is set to change color More... | |
| 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. More... | |
| virtual void | slot_onEntityIndicatorMouseUp (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| virtual void | slot_onEntityIndicatorMouseDblClick (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| 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. More... | |
| virtual void | slot_onTacticalGraphicIndicatorMouseUp (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| virtual void | slot_onTacticalGraphicIndicatorMouseDblClick (DtMouseState &mouseState, const DtUniqueID &id, const std::string &displayEngineName, const std::string &windowName, const std::string &channelName) |
| virtual void | slot_onCoordinateSystemChanged (const std::string &coordinateSystem, const std::string &coordinateParameters) |
| Slot for handling coordinate system changes. More... | |
| virtual void | toggleEntitySelected (const DtUniqueID &id) |
| Toggle selection of an entity. More... | |
| virtual void | performObserverAction (const DtViewStateProcessor::ObserverAction &action) |
Protected Member Functions inherited from makVrv::DtDriver | |
| void | applyChangesAndDelete (DtElementChanges *changes) |
| Function for apply changes from a changes object and deleting it. More... | |
| void | reportElementCreated (DtElementID id, DtElementID parentId, DtElementEntry::ElementType type) |
| Report an element created. More... | |
| void | reportElementAttribute (DtElementID id, DtElementAttribute *attribute) |
| Report an element attribute changed. More... | |
| void | reportElementDestroyed (DtElementID id) |
| Report an element destroyed. More... | |
| void | start () |
| Start the driver. More... | |
| void | stop () |
| Stop the driver. More... | |
| bool | tick () |
| Tick the host driver. More... | |
| virtual void | setInstanceName (const std::string &name) |
| set the Instance name. More... | |
| virtual void | installAccessories () |
| Installs accessories on this driver. More... | |
| virtual void | uninstallAccessories () |
| Removes accessories from this driver. More... | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtVrlinkDriver | |
| boost::signal< void(DtConnection *)> | signal_simulationCreated |
| This signal is emitted when the simulation is created. More... | |
| boost::signal< void(DtConnection *)> | signal_simulationAboutToBeDestroyed |
| This signal is emitted when the simulation is about to be destroyed. More... | |
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 1.3.
| makVrv::DtHla13Driver::DtHla13Driver | ( | DtAgentManager & | agentManager, |
| const std::string & | uniqueName, | ||
| const std::string & | className = "DtHla13Driver" |
||
| ) |
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::DtHla13Driver::setExerciseSettings | ( | const DtExerciseConnInitializer & | settings | ) |
Set the exercise settings.
| void makVrv::DtHla13Driver::setAppNumber | ( | int | appNumber | ) |
Set the connection's application number.
| void makVrv::DtHla13Driver::setSiteId | ( | int | siteId | ) |
Set the connection's site ID.
| int makVrv::DtHla13Driver::siteId | ( | ) |
Current site ID.
| int makVrv::DtHla13Driver::appNumber | ( | ) |
Current app number.
|
protectedvirtual |
Abstract create DtConnection function called onStart.
Implements makVrv::DtVrlinkDriver.
|
protectedvirtual |
Get the appropriate agent manager for the connection to use.
(Either synchronous or asynchronous depending on threading mode)
|
protectedvirtual |
Reimplemented from makVrv::DtVrlinkDriver.
|
protectedvirtual |
Reimplemented from makVrv::DtVrlinkDriver.
|
protected |
|
protected |
|
protected |
|
protected |