MAK RTIspy API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtAssistantRtiForwarderCompInfoMsg Class Reference

The DtAssistantRtiForwarderCompInfoMsg defines a wrapper for the RTI Assistant component information message used to send information about an RTI Forwarder component to its connected RTI Assistant. More...

+ Inheritance diagram for DtAssistantRtiForwarderCompInfoMsg:
+ Collaboration diagram for DtAssistantRtiForwarderCompInfoMsg:

List of all members.

Public Member Functions

 DtAssistantRtiForwarderCompInfoMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructors.
 DtAssistantRtiForwarderCompInfoMsg (const DtNetAssistantRtiForwarderCompInfoMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
virtual ~DtAssistantRtiForwarderCompInfoMsg ()
 Destructor.
virtual DtAssistantMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void setReliableIpAddress (const MAKRti::DtInetAddr &ipAddr)
 Set RTI Forwarder's reliable forwarder IP address.
virtual MAKRti::DtInetAddr reliableIpAddress () const
 Get RTI Forwarder's reliable forwarder IP address.
virtual void setBestEffortIpAddress (const MAKRti::DtInetAddr &ipAddr)
 Set RTI Forwarder's best effort IP address.
virtual MAKRti::DtInetAddr bestEffortIpAddress () const
 Get RTI Forwarder's best effort IP address.
virtual void setUdpPort (int port)
 Set RTI Forwarder's UDP port number.
virtual int udpPort () const
 Get RTI Forwarder's UDP port number.
virtual void setTcpPort (int port)
 Set RTI Forwarder's TCP port number.
virtual int tcpPort () const
 Get RTI Forwarder's TCP port number.
virtual void setHostName (const MAKRti::DtString &name)
 Set RTI Forwarder host name.
virtual MAKRti::DtString hostName () const
 Get RTI Forwarder host name.
virtual void setFullCompliance (bool val)
 Set the flag indicating if RTI Forwarder is running with full compliance.
virtual bool fullCompliance () const
 Get the flag indicating if RTI Forwarder is running with full compliance.
virtual int forwarderPort () const
 Get the forwarder port.
virtual void setForwarderPort (int forwarderPortToUse)
 Set the forwarder port.
virtual MAKRti::DtInetAddr additionalForwarderConnection () const
 Get the optional additional forwarder to connect to.
virtual void setAdditionalForwarderConnection (const MAKRti::DtInetAddr &addr)
 Set the optional additional forwarder to connect to.
virtual bool execConfirmed () const
 Get exec connection status.
virtual void setExecConfirmed (bool isConnected)
 Set status of exec connection.
virtual void printData () const
 Print the data section.

Static Public Member Functions

static DtAssistantMsgcreate (const DtNetAssistantMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creators.
static DtAssistantMsgcreate (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
static void addCallback (DtRtiAssistantServer *conn, DtAssistantRtiForwarderCompInfoCb cb, void *usr)
 Adds or removes a callback with the given Assistant server for this message type.
static void removeCallback (DtRtiAssistantServer *conn, DtAssistantRtiForwarderCompInfoCb cb, void *usr)

Protected Member Functions

virtual
DtNetAssistantRtiForwarderCompInfoMsg
netAssistantRtiForwarderCompInfoMsg ()
 The network representation for the RTI Forwarder component information.
virtual const
DtNetAssistantRtiForwarderCompInfoMsg
netAssistantRtiForwarderCompInfoMsg () const
virtual DtAssistantMsgKind internalMsgKind ()
 Returns the kind of a DtAssistantRtiForwarderCompInfoMsg message.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual void setHostNameSize (unsigned long size)
 Set/Get RTI Forwarder host name size.
virtual unsigned long hostNameSize () const
virtual const char * hostNamePtr () const
 Return pointer to RTI Forwarder host name location in message.
virtual char * hostNamePtr ()

Detailed Description

The DtAssistantRtiForwarderCompInfoMsg defines a wrapper for the RTI Assistant component information message used to send information about an RTI Forwarder component to its connected RTI Assistant.


Constructor & Destructor Documentation

DtAssistantRtiForwarderCompInfoMsg::DtAssistantRtiForwarderCompInfoMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructors.

References DtAssistantMsg::initAssistantMsg(), internalMsgKind(), and minSize().

Referenced by clone(), and create().

DtAssistantRtiForwarderCompInfoMsg::DtAssistantRtiForwarderCompInfoMsg ( const DtNetAssistantRtiForwarderCompInfoMsg netRep,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

Adds or removes a callback with the given Assistant server for this message type.

References DtRtiAssistantServer::addMsgCallback(), and DtAssistantRtiForwarderCompInfoMsgKind.

Referenced by DtAssistantComponentMgr::DtAssistantComponentMgr().

Get the optional additional forwarder to connect to.

References netAssistantRtiForwarderCompInfoMsg().

Referenced by printData().

Get RTI Forwarder's best effort IP address.

References netAssistantRtiForwarderCompInfoMsg().

Referenced by printData(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().

Return a copy/empty object of the same type as this.

Implements DtAssistantMsg.

References DtAssistantRtiForwarderCompInfoMsg(), and netAssistantRtiForwarderCompInfoMsg().

DtAssistantMsg * DtAssistantRtiForwarderCompInfoMsg::create ( const DtNetAssistantMsgHeader initial,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
) [static]

Creators.

References DtAssistantRtiForwarderCompInfoMsg().

DtAssistantMsg * DtAssistantRtiForwarderCompInfoMsg::create ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER) [static]

Get the flag indicating if RTI Forwarder is running with full compliance.

References DtNetAssistantRtiForwarderCompInfoMsg::fullCompliance, and netAssistantRtiForwarderCompInfoMsg().

Referenced by printData(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().

DtString DtAssistantRtiForwarderCompInfoMsg::hostName ( ) const [virtual]

Get RTI Forwarder host name.

References hostNamePtr(), and hostNameSize().

Referenced by printData(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().

const char * DtAssistantRtiForwarderCompInfoMsg::hostNamePtr ( ) const [protected, virtual]

Return pointer to RTI Forwarder host name location in message.

References netAssistantRtiForwarderCompInfoMsg().

Referenced by hostName(), and setHostName().

char * DtAssistantRtiForwarderCompInfoMsg::hostNamePtr ( ) [protected, virtual]
unsigned long DtAssistantRtiForwarderCompInfoMsg::hostNameSize ( ) const [protected, virtual]
int DtAssistantRtiForwarderCompInfoMsg::minSize ( ) const [protected, virtual]

Returns minimum size of a message, including header.

Referenced by DtAssistantRtiForwarderCompInfoMsg().

Get RTI Forwarder's reliable forwarder IP address.

References netAssistantRtiForwarderCompInfoMsg().

Referenced by printData(), and DtAssistantComponentMgr::processRtiForwarderCompInfoMsg().

void DtAssistantRtiForwarderCompInfoMsg::setAdditionalForwarderConnection ( const MAKRti::DtInetAddr &  addr) [virtual]
void DtAssistantRtiForwarderCompInfoMsg::setBestEffortIpAddress ( const MAKRti::DtInetAddr &  ipAddr) [virtual]
void DtAssistantRtiForwarderCompInfoMsg::setForwarderPort ( int  forwarderPortToUse) [virtual]

Set the flag indicating if RTI Forwarder is running with full compliance.

References DtNetAssistantRtiForwarderCompInfoMsg::fullCompliance, and netAssistantRtiForwarderCompInfoMsg().

Referenced by DtRtiAssistantForwarderClient::sendClientInfo().

void DtAssistantRtiForwarderCompInfoMsg::setHostName ( const MAKRti::DtString &  name) [virtual]
void DtAssistantRtiForwarderCompInfoMsg::setHostNameSize ( unsigned long  size) [protected, virtual]

Set/Get RTI Forwarder host name size.

References DtNetAssistantRtiForwarderCompInfoMsg::hostNameSize, and netAssistantRtiForwarderCompInfoMsg().

Referenced by setHostName().

void DtAssistantRtiForwarderCompInfoMsg::setReliableIpAddress ( const MAKRti::DtInetAddr &  ipAddr) [virtual]
void DtAssistantRtiForwarderCompInfoMsg::setTcpPort ( int  port) [virtual]
void DtAssistantRtiForwarderCompInfoMsg::setUdpPort ( int  port) [virtual]

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

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)