VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrf::DtDebugDrawConnectorLogic Class Reference

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::DtDemyDe
 
DtDebugDrawConnectorInterfacemyInterface
 
unsigned int myPort
 
DtSimulationAddress mySimEngine
 
bool myConnected
 
double myMaxQueryDistance
 

Constructor & Destructor Documentation

makVrf::DtDebugDrawConnectorLogic::DtDebugDrawConnectorLogic ( makVrv::DtDe de,
DtDebugDrawConnectorInterface  
)
virtual makVrf::DtDebugDrawConnectorLogic::~DtDebugDrawConnectorLogic ( )
virtual

Member Function Documentation

virtual void makVrf::DtDebugDrawConnectorLogic::connectionRequest ( DtSimulationAddress &  simEngine)
virtual

Send a message to the sim engine backend to request a connection from debugDrawManager (backend) to the debugDrawRenderer (GUI)

virtual void makVrf::DtDebugDrawConnectorLogic::disconnectionRequest ( DtSimulationAddress &  simEngine)
virtual

Send a message to the sim engine backend to request a disconnection from debugDrawManager (backend) to the debugDrawRenderer (GUI)

virtual void makVrf::DtDebugDrawConnectorLogic::setPort ( unsigned int  port)
virtual

Set the current port.

virtual unsigned int makVrf::DtDebugDrawConnectorLogic::port ( ) const
virtual

Get the current port.

virtual const DtSimulationAddress& makVrf::DtDebugDrawConnectorLogic::simAddress ( ) const
virtual

Get the sim adress connect to.

virtual bool makVrf::DtDebugDrawConnectorLogic::connected ( ) const
virtual

check if we are connected or not

virtual void makVrf::DtDebugDrawConnectorLogic::setConnected ( bool  value)
virtual

set the value if we are connected or not connected

Member Data Documentation

makVrv::DtDe& makVrf::DtDebugDrawConnectorLogic::myDe
protected

Keep a pointer to the DtDe.

DtDebugDrawConnectorInterface* makVrf::DtDebugDrawConnectorLogic::myInterface
protected

Keep a pointer to the interface.

unsigned int makVrf::DtDebugDrawConnectorLogic::myPort
protected

Port selected to connected to debugDrawRender (front end)

DtSimulationAddress makVrf::DtDebugDrawConnectorLogic::mySimEngine
protected

Simulation engine selected to connect (back end)

bool makVrf::DtDebugDrawConnectorLogic::myConnected
protected

Are we currently connected.

double makVrf::DtDebugDrawConnectorLogic::myMaxQueryDistance
protected

Max distance from the center point of the frustum (in meters)


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)