![]() |
VR-Forces 5.0.2 Developer's Guide
|
Contains makVrf::DtDebugDrawConnectorLogic class. This class is trigger by the DebugDrawConnectorPage dialog and is used inside DebugDrawTerrainPage, DebugDrawFeaturePage, DebugDrawNavMeshPage. Upon selecting an option, it will send a DtIfDebugDrawConnector message (via DIS/HLA) to the selected sim. engine. This message will be received in the back end by DtDebugDrawManager. The DtDebugDrawManager will then request a connection to the debugDrawRender (via messages that are not DIS/HLA).
Public Member Functions | |
| DtDebugDrawConnectorLogic (makVrv::DtDe &de, DtDebugDrawConnectorInterface *) | |
| virtual | ~DtDebugDrawConnectorLogic () |
| virtual void | connectionRequest (DtSimulationAddress &simEngine) |
| virtual void | disconnectionRequest (DtSimulationAddress &simEngine) |
| virtual void | setPort (unsigned int port) |
| virtual unsigned int | port () const |
| virtual const DtSimulationAddress & | simAddress () const |
| virtual bool | connected () const |
| virtual void | setConnected (bool value) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtDebugDrawConnectorInterface * | myInterface |
| unsigned int | myPort |
| DtSimulationAddress | mySimEngine |
| bool | myConnected |
| double | myMaxQueryDistance |
| makVrf::DtDebugDrawConnectorLogic::DtDebugDrawConnectorLogic | ( | makVrv::DtDe & | de, |
| DtDebugDrawConnectorInterface * | |||
| ) |
|
virtual |
|
virtual |
Send a message to the sim engine backend to request a connection from debugDrawManager (backend) to the debugDrawRenderer (GUI)
|
virtual |
Send a message to the sim engine backend to request a disconnection from debugDrawManager (backend) to the debugDrawRenderer (GUI)
Set the current port.
Get the current port.
|
virtual |
Get the sim adress connect to.
|
virtual |
check if we are connected or not
|
virtual |
set the value if we are connected or not connected
|
protected |
Keep a pointer to the DtDe.
|
protected |
Keep a pointer to the interface.
Port selected to connected to debugDrawRender (front end)
|
protected |
Simulation engine selected to connect (back end)
|
protected |
Are we currently connected.
|
protected |
Max distance from the center point of the frustum (in meters)