![]() |
VR-Forces 4.3 Class Documentation
|
This class initializes the CIGI driver. More...
Public Types | |
| enum | TransportType { BestEffort = 0, Reliable_Client = 1, Reliable_Server = 2 } |
Public Member Functions | |
| DtCigiConnectionInitializer () | |
| Constructor. | |
| DtCigiConnectionInitializer (const DtCigiConnectionInitializer &orig) | |
| Copy Constructor. | |
| virtual | ~DtCigiConnectionInitializer () |
| Destructor. | |
| const DtCigiConnectionInitializer & | operator= (const DtCigiConnectionInitializer &orig) |
| Assignment Operator. | |
| std::string | cigiVersion () const |
| Returns the CIGI Version in string form. | |
| virtual void | setCigiVersion (const std::string &version) |
| Set the CIGI version string. | |
| std::string | cigiMappingsName () const |
| Returns the name of the CIGI mappings to use. | |
| virtual void | setCigiMappingsName (const std::string &name) |
| Sets the name of the CIGI mappings to use. | |
| std::string | deviceAddress () const |
| Returns the network device address for host communication. | |
| virtual void | setDeviceAddress (const std::string &address) |
| Sets the network device address for host communication. | |
| std::string | hostIpAddress () const |
| Returns the IP address of the CIGI host. | |
| virtual void | setHostIpAddress (const std::string &address) |
| Sets the CIGI host's IP address. | |
| unsigned | incomingBufferSize () const |
| Returns the size of the incoming CIGI buffer. | |
| virtual void | setIncomingBufferSize (unsigned nSize) |
| Sets the buffer size for CIGI incoming message queue. | |
| unsigned | listenPort () const |
| Returns the network listen port. | |
| virtual void | setListenPort (unsigned port) |
| Set the network listen port. | |
| unsigned | incomingBuffers () const |
| Returns the number of incoming CIGI buffers. | |
| virtual void | setNumIncomingBuffers (unsigned nNum) |
| Sets the number of buffers for CIGI incoming message queue. | |
| unsigned | outgoingBuffers () const |
| Returns the number of outgoing CIGI buffers. | |
| virtual void | setNumOutgoingBuffers (unsigned nNum) |
| Sets the number of buffers for CIGI outgoing message queue. | |
| unsigned | outgoingBufferSize () const |
| Returns the size of the outgoing CIGI buffer. | |
| virtual void | setOutgoingBufferSize (unsigned nSize) |
| Sets the buffer size for CIGI outgoing message queue. | |
| unsigned | packetBufferSize () const |
| Returns the size of the receiving network buffer. | |
| virtual void | setPacketBufferSize (unsigned nSize) |
| Set size of receive packet buffer on network socket. | |
| unsigned | sendPort () const |
| Returns port being sent to. | |
| virtual void | setSendPort (unsigned port) |
| Set the Send to Host port. | |
| virtual const std::string & | driverMode () const |
| Returns the driver mode: Synchronous (multi/single threaded) or asynchronous. | |
| virtual void | setDriverMode (const std::string &mode) |
| Sets the driver mode. | |
| virtual TransportType | transportType () const |
| Returns the transport type (best effort or reliable (client or server)). | |
| virtual void | setTransportType (TransportType tType) |
| Sets the transport type. | |
| virtual bool | useSynchronousMode () const |
| Returns whether we're using synchronous mode, based on the driver mode. | |
| virtual void | setDriverFrequency (unsigned int hertz) |
| Sets the driver frequency. | |
| virtual unsigned int | driverFrequency () const |
| Returns the driver frequency. | |
Static Public Attributes | |
| static const std::string | SingleThreadedString |
| static const std::string | MultiThreadedString |
| static const std::string | AsynchronousString |
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 |
| std::string | myDriverMode |
| TransportType | myTransportType |
| unsigned int | myDriverFrequency |
This class initializes the CIGI driver.
| makVrv::DtCigiConnectionInitializer::DtCigiConnectionInitializer | ( | ) |
Constructor.
| makVrv::DtCigiConnectionInitializer::DtCigiConnectionInitializer | ( | const DtCigiConnectionInitializer & | orig | ) |
Copy Constructor.
|
virtual |
Destructor.
| const 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.
|
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.
|
virtual |
Sets the driver frequency.
|
virtual |
Returns the driver frequency.
|
static |
|
static |
|
static |
|
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 |