![]() |
VR-Forces Developer's Guide
|
The base class for VR-Link based drivers.

Public Attributes | |
| boost::signalslib::signal < void(DtVrlinkBaseConnection *)> | signal_connectionCreated |
| boost::signalslib::signal < void(DtVrlinkBaseConnection *)> | signal_connectionAboutToBeDestroyed |
Static Public Attributes | |
| static const std::string | theExConnConfigFileCount |
| static const std::string | theExConnConfigFile |
Protected Types | |
| enum | FunctionType { Create, Update, Destroy } |
| typedef DtLockedBufferedQueue < std::function< void()> > | FunctionCallQueue |
| typedef std::vector < std::function< void()> > | FunctionCallList |
Additional Inherited Members | |
Static Protected Attributes inherited from makVrv::DtDriver | |
| static const std::string | theOnDriverSelectionList |
|
protected |
|
protected |
|
protected |
| makVrv::DtVrlinkDriver::DtVrlinkDriver | ( | DtAgentManager & | agentManager, |
| const std::string & | uniqueName, | ||
| const std::string & | className | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Get this instance's class name.
Implements makVrv::DtDriver.
|
virtual |
Get observer publishing status for this driver.
|
virtual |
Turn on or off observer publishing for this driver.
|
virtual |
Get whether this driver uses its own local view control enabled flag or the global value.
|
virtual |
SGet whether this driver uses its own local view control enabled flag or the global value.
|
virtual |
Get view control status for this driver; returns either the local or the global setting, depending on the value of overrideGlobalViewControl.
|
virtual |
Turn on or off acceptance of view controls for this driver; used if override global view control is true.
|
virtual |
Get acceptance of view controls for this driver; used if override global view control is true.
|
virtual |
Set the connection frame time. This is 1/frequency for the connection tick. Default is 1/60.
|
virtual |
Get the connection frame time. This is 1/frequency for the connection tick. Default is 1/60.
| void makVrv::DtVrlinkDriver::setUseTopoForFlatEarthVectorConversion | ( | bool | flag | ) |
We used to use a topo system to convert flat earth vectors. Now we find the point at the end of the vector, convert start and end points, and subtract for a more accurate result. However, when receiving data from a connection using the old method (including older versions of VR-Forces and DI-Guy) user's may want to revert to the old scheme.
| bool makVrv::DtVrlinkDriver::useTopoForFlatEarthVectorConversion | ( | ) | const |
|
virtual |
Put a function in the driver-thread function queue, for threadsafe calling.
|
virtual |
Put a function in the connection-thread function queue, for threadsafe calling.
Referenced by DtExConnInterface::sendCommentInteraction().
|
inline |
Returns value of thread flag.
|
inline |
Referenced by DtExConnInterface::DtExConnInterface().
|
protectedpure virtual |
Abstract create connection function called onStart.
Implemented in makVrv::DtDisDriver, makVrv::DtHla1516eDriver, makVrv::DtHla4Driver, makVrv::DtLegionDriver, makVrf::vrfLegion::DtVrfLegionDriver, and makVrv::DtHla13Driver.
|
protectedvirtual |
Start the host output. Create all object for an existing host connection.
Implements makVrv::DtDriver.
Reimplemented in makVrf::vrfLegion::DtVrfLegionDriver, and makVrv::DtLegionDriver.
|
protectedvirtual |
Stop the host output. All scene object created by the host should be destroyed.
Implements makVrv::DtDriver.
Reimplemented in makVrv::DtLegionDriver.
|
protectedvirtual |
Function that will be called when the thread is started.
|
protected |
Start publishing observers.
|
protected |
Stop publishing observers.
|
protectedvirtual |
Tick, this calls threadTick if the driver is not configured to use a separate thread.
Implements makVrv::DtDriver.
Reimplemented in makVrf::vrfLegion::DtVrfLegionDriver, and makVrv::DtLegionDriver.
|
protected |
Attempt to start the thread.
| DtCorruptedState | if the thread does not start. |
|
protected |
Attempt to stop the thread, blocking until the thread stops.
|
protected |
Set the connection state of the driver.
|
protectedvirtual |
Respond when a display engine is added.
Reimplemented from makVrv::DtDriver.
|
protectedvirtual |
Respond when the global view control setting changes.
|
protectedvirtual |
Connect to signals.
|
protectedvirtual |
Disconnect to any signals connected to in connectToDynamicSignals()
|
protectedvirtual |
Connect to signals.
|
protectedvirtual |
Connect to signals.
|
protectedvirtual |
Connect to signals.
|
protectedvirtual |
Connect to signals.
|
protectedvirtual |
Connect to signals.
|
protectedvirtual |
Connect to signals.
|
protectedvirtual |
Slot that updates the pinned state of informative labels for all elements whose element id is present in the provided list. This slot is connected to: DtSelectionManager::signal_infoLabelsArePinned This driver notifies network-side state listeners via the following signal: DtSharedEntityDisplaySettingsSignaler::signal_infoLabelsArePinned.
|
protectedvirtual |
slot for handling the selecion manager event when a track history is set to change color
|
protectedvirtual |
slot for handling the switching of which quadrant symbol decorations are rendered in (for the specified entity)
|
protectedvirtual |
Slot for handling coordinate system changes.
|
protectedvirtual |
Toggle selection of an entity.
|
protectedvirtual |
Connect to signals.
|
protectedvirtual |
Reimplemented in makVrv::DtHla1516eDriver, makVrv::DtHla4Driver, and makVrv::DtHla13Driver.
|
protectedvirtual |
Reimplemented in makVrv::DtHla1516eDriver, makVrv::DtHla4Driver, and makVrv::DtHla13Driver.
|
protectedvirtual |
Start publishing an observer on the current connection.
|
protectedvirtual |
Stop publishing an observer on the current connection.
|
protectedvirtual |
Update the observer position/orientations on the connection.
Reimplemented in makVrv::DtLegionDriver.
|
protectedvirtual |
Slot called when the DtDe's pause signal is emitted. If a connection exists, this will be communicated to it.
|
protectedvirtual |
Slot called when the DtDe's resume signal is emitted/ If a connection exists, this will be communicated to it.
|
protectedvirtual |
Execute a function queue.
|
static |
|
static |
| boost::signalslib::signal<void (DtVrlinkBaseConnection*)> makVrv::DtVrlinkDriver::signal_connectionCreated |
This signal is emitted when the connection is created.
| boost::signalslib::signal<void (DtVrlinkBaseConnection*)> makVrv::DtVrlinkDriver::signal_connectionAboutToBeDestroyed |
This signal is emitted when the connection is about to be destroyed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |