VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Attributes
makVrv::DtCigiConnectionInitializer Class Reference

This class initializes the CIGI driver. More...

List of all members.

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 DtCigiConnectionInitializeroperator= (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.

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

Detailed Description

This class initializes the CIGI driver.


Member Enumeration Documentation

Enumerator:
BestEffort 
Reliable_Client 
Reliable_Server 

Constructor & Destructor Documentation

Constructor.

Copy Constructor.

Destructor.


Member Function Documentation

const DtCigiConnectionInitializer& makVrv::DtCigiConnectionInitializer::operator= ( const DtCigiConnectionInitializer orig)

Assignment Operator.

std::string makVrv::DtCigiConnectionInitializer::cigiVersion ( ) const [inline]

Returns the CIGI Version in string form.

References myCigiVersion.

virtual void makVrv::DtCigiConnectionInitializer::setCigiVersion ( const std::string &  version) [virtual]

Set the CIGI version string.

Returns the name of the CIGI mappings to use.

virtual void makVrv::DtCigiConnectionInitializer::setCigiMappingsName ( const std::string &  name) [virtual]

Sets the name of the CIGI mappings to use.

Returns the network device address for host communication.

References myDeviceAddress.

virtual void makVrv::DtCigiConnectionInitializer::setDeviceAddress ( const std::string &  address) [virtual]

Sets the network device address for host communication.

Returns the IP address of the CIGI host.

References myHostIpAddress.

virtual void makVrv::DtCigiConnectionInitializer::setHostIpAddress ( const std::string &  address) [virtual]

Sets the CIGI host's IP address.

Returns the size of the incoming CIGI buffer.

References myIncomingBufferSize.

virtual void makVrv::DtCigiConnectionInitializer::setIncomingBufferSize ( unsigned  nSize) [virtual]

Sets the buffer size for CIGI incoming message queue.

Returns the network listen port.

References myListenPort.

virtual void makVrv::DtCigiConnectionInitializer::setListenPort ( unsigned  port) [virtual]

Set the network listen port.

Returns the number of incoming CIGI buffers.

References myNumIncomingBuffers.

virtual void makVrv::DtCigiConnectionInitializer::setNumIncomingBuffers ( unsigned  nNum) [virtual]

Sets the number of buffers for CIGI incoming message queue.

Returns the number of outgoing CIGI buffers.

References myNumOutgoingBuffers.

virtual void makVrv::DtCigiConnectionInitializer::setNumOutgoingBuffers ( unsigned  nNum) [virtual]

Sets the number of buffers for CIGI outgoing message queue.

Returns the size of the outgoing CIGI buffer.

References myOutgoingBufferSize.

virtual void makVrv::DtCigiConnectionInitializer::setOutgoingBufferSize ( unsigned  nSize) [virtual]

Sets the buffer size for CIGI outgoing message queue.

Returns the size of the receiving network buffer.

References myPacketBufferSize.

virtual void makVrv::DtCigiConnectionInitializer::setPacketBufferSize ( unsigned  nSize) [virtual]

Set size of receive packet buffer on network socket.

unsigned makVrv::DtCigiConnectionInitializer::sendPort ( ) const [inline]

Returns port being sent to.

References mySendPort.

virtual void makVrv::DtCigiConnectionInitializer::setSendPort ( unsigned  port) [virtual]

Set the Send to Host port.

virtual const std::string& makVrv::DtCigiConnectionInitializer::driverMode ( ) const [virtual]

Returns the driver mode: Synchronous (multi/single threaded) or asynchronous.

virtual void makVrv::DtCigiConnectionInitializer::setDriverMode ( const std::string &  mode) [virtual]

Sets the driver mode.

Returns the transport type (best effort or reliable (client or server)).

Sets the transport type.

Returns whether we're using synchronous mode, based on the driver mode.

virtual void makVrv::DtCigiConnectionInitializer::setDriverFrequency ( unsigned int  hertz) [virtual]

Sets the driver frequency.

virtual unsigned int makVrv::DtCigiConnectionInitializer::driverFrequency ( ) const [virtual]

Returns the driver frequency.


Member Data Documentation

Referenced by cigiVersion().

Referenced by deviceAddress().

Referenced by hostIpAddress().

Referenced by incomingBufferSize().

Referenced by listenPort().

Referenced by incomingBuffers().

Referenced by outgoingBuffers().

Referenced by outgoingBufferSize().

Referenced by packetBufferSize().

Referenced by sendPort().


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)