![]() |
VR-Forces 5.0.2 Developer's Guide
|
This class initializes the CIGI driver.
Public Types | |
| enum | TransportType { BestEffort = 0, Reliable_Client = 1, Reliable_Server = 2 } |
| enum | ConnectionMode { SynchronousSingleThreaded, SynchronousMultiThreaded, Asynchronous } |
Protected Attributes | |
| std::string | myCigiVersion |
| std::string | myDeviceAddress |
| std::string | myHostIpAddress |
| std::string | myEntityMappingName |
| unsigned | myIncomingBufferSize |
| unsigned | myListenPort |
| unsigned | myNumIncomingBuffers |
| unsigned | myNumOutgoingBuffers |
| unsigned | myOutgoingBufferSize |
| unsigned | myPacketBufferSize |
| unsigned | mySendPort |
| ConnectionMode | myDriverMode |
| TransportType | myTransportType |
| unsigned int | myDriverFrequency |
| unsigned int | myHostFrequency |
| float | myPauseAfterConnectTime |
| bool | myReturnConnectionObjectIds |
| makVrv::DtCigiConnectionInitializer::DtCigiConnectionInitializer | ( | ) |
Constructor.
| makVrv::DtCigiConnectionInitializer::DtCigiConnectionInitializer | ( | const DtCigiConnectionInitializer & | orig | ) |
Copy Constructor.
|
virtual |
Destructor.
| DtCigiConnectionInitializer& makVrv::DtCigiConnectionInitializer::operator= | ( | const DtCigiConnectionInitializer & | orig | ) |
Assignment Operator.
|
inline |
Returns the CIGI Version in string form.
References myCigiVersion.
|
virtual |
Set the CIGI version string.
| std::string makVrv::DtCigiConnectionInitializer::cigiMappingsName | ( | ) | const |
Returns the name of the CIGI mappings to use.
|
virtual |
Sets the name of the CIGI mappings to use.
|
inline |
Returns the network device address for host communication.
References myDeviceAddress.
|
virtual |
Sets the network device address for host communication.
|
inline |
Returns the IP address of the CIGI host.
References myHostIpAddress.
|
virtual |
Sets the CIGI host's IP address.
|
inline |
Returns the size of the incoming CIGI buffer.
References myIncomingBufferSize.
|
virtual |
Sets the buffer size for CIGI incoming message queue.
|
inline |
Returns the network listen port.
References myListenPort.
|
virtual |
Set the network listen port.
|
inline |
Returns the number of incoming CIGI buffers.
References myNumIncomingBuffers.
|
virtual |
Sets the number of buffers for CIGI incoming message queue.
|
inline |
Returns the number of outgoing CIGI buffers.
References myNumOutgoingBuffers.
|
virtual |
Sets the number of buffers for CIGI outgoing message queue.
|
inline |
Returns the size of the outgoing CIGI buffer.
References myOutgoingBufferSize.
|
virtual |
Sets the buffer size for CIGI outgoing message queue.
|
inline |
Returns the size of the receiving network buffer.
References myPacketBufferSize.
|
virtual |
Set size of receive packet buffer on network socket.
|
inline |
Returns port being sent to.
References mySendPort.
|
virtual |
Set the Send to Host port.
|
virtual |
Returns the driver mode: Synchronous (multi/single threaded) or asynchronous.
|
virtual |
Sets the driver mode. Saved in the config file as driverModeEnum.
|
virtual |
This provides backward compatibility with driver configuration files the use the old driverMode parameter.
|
virtual |
Returns the transport type (best effort or reliable (client or server)).
|
virtual |
Sets the transport type.
|
virtual |
Returns whether we're using synchronous mode, based on the driver mode.
Sets the driver frequency.
Returns the driver frequency.
Sets the host frequency. Used for detecting overload conditions when using Asynchronous driver mode (in synchronous mode, host frequency is assumed to be the driver frequency.
Returns the host frequency.
|
virtual |
Returns the amount of time the connection should sleep after connect, in seconds. Users who autostart multiple drivers may have problems with querying the network device for the default address when no pause is provided - default is 0.
|
virtual |
Set the amount of time we pause after connect.
|
virtual |
Set connection object ids to TRUE to return DIS/RPR connection object IDs in place of CIGI connection object IDs This ID is the last number of the connection IDs that in the format n:n:n.
|
virtual |
Return whether the myReturnConnectionObjectIds is set to true or not. False is CIGI IDs, True is DIS/RPR IDs This ID is the last number of the connection IDs that in the format n:n:n.
|
protected |
Referenced by cigiVersion().
|
protected |
Referenced by deviceAddress().
|
protected |
Referenced by hostIpAddress().
|
protected |
|
protected |
Referenced by incomingBufferSize().
|
protected |
Referenced by listenPort().
|
protected |
Referenced by incomingBuffers().
|
protected |
Referenced by outgoingBuffers().
|
protected |
Referenced by outgoingBufferSize().
|
protected |
Referenced by packetBufferSize().
|
protected |
Referenced by sendPort().
|
protected |
|
protected |
|
protected |
|
protected |