MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions
DtAssistantForwarderStateMsg Class Reference

The DtAssistantForwarderStateMsg defines a wrapper for the RTI Assistant forwarder state message sent to an assistant from a local RTI Forwarder and between assistants to relay RTI component information. More...

+ Inheritance diagram for DtAssistantForwarderStateMsg:
+ Collaboration diagram for DtAssistantForwarderStateMsg:

Public Member Functions

 DtAssistantForwarderStateMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructors.
 DtAssistantForwarderStateMsg (const DtNetAssistantForwarderStateMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
virtual ~DtAssistantForwarderStateMsg ()
 Destructor.
virtual DtAssistantMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void printData () const
 Print the data section.
void getAllData (unsigned int &numForwarderToForwarderConns, std::vector< MAKRti::DtString > &forwarderIdentifiers, std::vector< MAKRti::DtString > &forwarderConnectionHostNames, std::vector< MAKRti::DtInetAddr > &forwarderConnectionAddrs, std::vector< int > &forwarderConnectionPorts, unsigned int &numExecConns, unsigned int &numForwarderClientConns, std::vector< MAKRti::DtString > &clientConnectionNames, std::vector< MAKRti::DtString > &clientConnectionTypeNames, std::vector< MAKRti::DtString > &clientConnectionProcessNames, std::vector< MAKRti::DtString > &clientConnectionPIDs, std::vector< MAKRti::DtString > &clientConnectionCommandArgs, std::vector< MAKRti::DtString > &clientConnectionHostNames, std::vector< MAKRti::DtInetAddr > &clientConnectionAddrs, std::vector< MAKRti::DtString > &clientConnectionFederationNames, std::vector< int > &clientFederateHandles, std::vector< unsigned > &clientConnIds, std::vector< int > &clientConnectionQueueStatus, std::vector< DtHlaVersionId > &clientHlaVersions, std::vector< DtAssistantMsgFederateStatus > &clientFederateStat) const
bool setAllData (unsigned int numForwarderToForwarderConns, const std::vector< MAKRti::DtString > &forwarderIdentifiers, const std::vector< MAKRti::DtString > &forwarderConnectionHostNames, const std::vector< MAKRti::DtInetAddr > &forwarderConnectionAddrs, const std::vector< int > &forwarderConnectionPorts, unsigned int numExecConns, unsigned int numForwarderClientConns, const std::vector< MAKRti::DtString > &clientConnectionNames, const std::vector< MAKRti::DtString > &clientConnectionTypeNames, const std::vector< MAKRti::DtString > &clientConnectionProcessNames, const std::vector< MAKRti::DtString > &clientConnectionPIDs, const std::vector< MAKRti::DtString > &clientConnectionCommandArgs, const std::vector< MAKRti::DtString > &clientConnectionHostNames, const std::vector< MAKRti::DtInetAddr > &clientConnectionAddrs, const std::vector< MAKRti::DtString > &clientConnectionFederationNames, const std::vector< int > &clientFederateHandles, const std::vector< unsigned > &clientConnIds, const std::vector< int > &clientConnectionQueueStatus, const std::vector< DtHlaVersionId > &clientHlaVersions, const std::vector< DtAssistantMsgFederateStatus > &clientConnectionFederateStatus)
MAKRti::DtString toString () const
virtual unsigned int numForwarderToForwarderConnections () const
virtual unsigned int numClientConnectionsThatAreExecs () const
virtual unsigned int numClientConnections () const
- Public Member Functions inherited from DtAssistantMsg
virtual ~DtAssistantMsg ()
 Destructor.
virtual DtNetAssistantMsgHeadernetHeader () const
 Get header of network representation.
virtual int version () const
 Return the message version.
virtual bool isValidVersion () const
 Returns bool: message version is valid?
virtual DtAssistantMsgKind msgKind () const
 Get the message kind.
virtual void print () const
 Printing functions.
virtual void printHeader () const
virtual bool isOk () const
 Message is good?
bool isAssistantToAssistantMessage () const
 Returns whether or not this message contains source/destination information included in messages sent between assistants.
virtual MAKRti::DtInetAddr sourceAddr () const
 Get/Set the IP address of the source of this message.
virtual void setSourceAddr (const MAKRti::DtInetAddr &addr)
virtual int sourceId () const
 Get/Set the ID of the source of this message.
virtual void setSourceId (int id)
virtual MAKRti::DtString sourceHost () const
 Get/Set the host name of the source of this message.
virtual void setSourceHost (const MAKRti::DtString &addr)
virtual MAKRti::DtInetAddr destAddr () const
 Get/Set the IP address of the destination of this message.
virtual void setDestAddr (const MAKRti::DtInetAddr &addr)
virtual int destId () const
 Get/Set the ID of the destination of this message.
virtual void setDestId (int id)
virtual int compId () const
 Get/Set the related component's connection ID.
virtual void setCompId (int compId)

Static Public Member Functions

static DtAssistantMsgcreate (const DtNetAssistantMsgHeader *initial, MAKRti::DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creators.
static DtAssistantMsgcreate (MAKRti::DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
static void addCallback (DtRtiAssistantServer *conn, DtAssistantForwarderStateCb cb, void *usr)
 Adds or removes a callback with the given Assistant server for this message type.
static void removeCallback (DtRtiAssistantServer *conn, DtAssistantForwarderStateCb cb, void *usr)
static void addCallback (DtRtiAssistantPeer *conn, DtAssistantForwarderStateCb cb, void *usr)
 Adds or removes a callback with the given Assistant peer for this message type.
static void removeCallback (DtRtiAssistantPeer *conn, DtAssistantForwarderStateCb cb, void *usr)
- Static Public Member Functions inherited from DtAssistantMsg
static const char * kindToString (DtAssistantMsgKind kind)
 Returns the name of the message, by kind enumeration.

Protected Member Functions

virtual
DtNetAssistantForwarderStateMsg
netAssistantForwarderStateMsg ()
 The network representation for the message.
virtual const
DtNetAssistantForwarderStateMsg
netAssistantForwarderStateMsg () const
virtual DtAssistantMsgKind internalMsgKind ()
 Returns the kind of a DtNetAssistantForwarderStateMsg message.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual void setNumForwarderToForwarderConnections (unsigned int num)
virtual void setNumClientConnectionsThatAreExecs (unsigned int num)
virtual void setNumClientConnections (unsigned int num)
virtual
DtInetUtils::DtInetAddrFamily 
addressFamily () const
 Get/set the IP address family.
virtual void setAddressFamily (DtInetUtils::DtInetAddrFamily fam)
virtual void forwarderIds (std::vector< MAKRti::DtString > &ids) const
 Get/set all of the forwarder ids.
virtual bool setForwarderIds (const std::vector< MAKRti::DtString > &ids)
virtual void forwarderHostNames (std::vector< MAKRti::DtString > &names) const
 Get/set all of the forwarder Host Names.
virtual bool setForwarderHostNames (const std::vector< MAKRti::DtString > &names)
virtual void forwarderAddrs (std::vector< MAKRti::DtInetAddr > &addrs) const
 Get all of the forwarder Addrs.
virtual bool setForwarderAddrs (const std::vector< MAKRti::DtInetAddr > &addrs)
virtual void forwarderPorts (std::vector< int > &ports) const
 Get all of the forwarder Ports.
virtual bool setForwarderPorts (const std::vector< int > &ports)
virtual void clientNames (std::vector< MAKRti::DtString > &names) const
 Get all of the client Names.
virtual bool setClientNames (const std::vector< MAKRti::DtString > &names)
virtual void clientTypes (std::vector< MAKRti::DtString > &strTypes) const
 Get all of the client types.
virtual bool setClientTypes (const std::vector< MAKRti::DtString > &strTypes)
virtual void clientProcessNames (std::vector< MAKRti::DtString > &processNames) const
 Get all of the client process names.
virtual bool setClientProcessNames (const std::vector< MAKRti::DtString > &processNames)
virtual void clientPIDs (std::vector< MAKRti::DtString > &pids) const
 Get all of the client pids.
virtual bool setClientPIDs (const std::vector< MAKRti::DtString > &pids)
virtual void clientCommandArgs (std::vector< MAKRti::DtString > &commandArgs) const
 Get all of the client command arguments.
virtual bool setClientCommandArgs (const std::vector< MAKRti::DtString > &commandArgs)
virtual void clientHostNames (std::vector< MAKRti::DtString > &names) const
 Get all of the client Host Names.
virtual bool setClientHostNames (const std::vector< MAKRti::DtString > &names)
virtual void clientFederationNames (std::vector< MAKRti::DtString > &names) const
 Get all of the client Federation Names.
virtual bool setClientFederationNames (const std::vector< MAKRti::DtString > &names)
virtual void clientAddrs (std::vector< MAKRti::DtInetAddr > &addrs) const
 Get all of the client Addrs.
virtual bool setClientAddrs (const std::vector< MAKRti::DtInetAddr > &addrs)
virtual void clientFederateHandles (std::vector< int > &handles) const
 Get all of the client federate handles.
virtual bool setClientFederateHandles (const std::vector< int > &handles)
virtual void clientConnectionIds (std::vector< unsigned > &ids) const
 Get all of the client connection IDs.
virtual bool setClientConnectionIds (const std::vector< unsigned > &ids)
virtual void clientConnectionQueueStatus (std::vector< int > &queueStatus) const
 Get all of the client connection queue status.
virtual bool setClientConnectionQueueStatus (const std::vector< int > &queueStatus)
virtual void clientHlaVersions (std::vector< DtHlaVersionId > &hlaVersions) const
 Get all of the client connection HLA versions.
virtual bool setClientHlaVersions (const std::vector< DtHlaVersionId > &hlaVersions)
virtual void clientFederateStatus (std::vector< DtAssistantMsgFederateStatus > &federateStatus) const
 Get all of the client connection federate status.
virtual bool setClientFederateStatus (const std::vector< DtAssistantMsgFederateStatus > &federateStatus)
virtual unsigned int forwarderIdsSize () const
 Get/set the total size of all the forwarder ids.
virtual void setForwarderIdsSize (unsigned int size)
virtual const char * forwarderIdsPtr () const
 Get the pointer to all the forwarder ids.
virtual char * forwarderIdsPtr ()
virtual unsigned int forwarderHostNamesSize () const
 Get/set the total size of all the forwarder host names.
virtual void setForwarderHostNamesSize (unsigned int size)
virtual const char * forwarderHostNamesPtr () const
 Get the pointer to the forwarder Hostnames data.
virtual char * forwarderHostNamesPtr ()
virtual const DtNetU128 * forwarderAddrsPtr () const
 Get the pointer to the forwarder Addrs data.
virtual DtNetU128 * forwarderAddrsPtr ()
virtual const DtNetU16 * forwarderPortsPtr () const
 Get the pointer to the forwarder Ports data.
virtual DtNetU16 * forwarderPortsPtr ()
virtual unsigned int clientNamesSize () const
 Get/set the total size of all the clients names.
virtual void setClientNamesSize (unsigned int size)
virtual const char * clientNamesPtr () const
 Get the pointer to the client names data.
virtual char * clientNamesPtr ()
virtual unsigned int clientTypesSize () const
 Get/set the total size of all the client types.
virtual void setClientTypesSize (unsigned int size)
virtual const char * clientTypesPtr () const
 Get the pointer to the client types data.
virtual char * clientTypesPtr ()
virtual unsigned int clientProcessNamesSize () const
 Get/set the total size of all the client process names.
virtual void setClientProcessNamesSize (unsigned int size)
virtual const char * clientProcessNamesPtr () const
 Get the pointer to the client Process names data.
virtual char * clientProcessNamesPtr ()
virtual unsigned int clientPIDsSize () const
 Get/set the total size of all the client PIDS.
virtual void setClientPIDsSize (unsigned int size)
virtual const char * clientPIDsPtr () const
 Get the pointer to the client pids data.
virtual char * clientPIDsPtr ()
virtual unsigned int clientCommandArgsSize () const
 Get/set the total size of all the client command arguments.
virtual void setClientCommandArgsSize (unsigned int size)
virtual const char * clientCommandArgsPtr () const
 Get the pointer to the client command args data.
virtual char * clientCommandArgsPtr ()
virtual unsigned int clientHostNamesSize () const
 Get/set the total size of all the clients host name.
virtual void setClientHostNamesSize (unsigned int size)
virtual const char * clientHostNamesPtr () const
 Get the pointer to the client host names data.
virtual char * clientHostNamesPtr ()
virtual unsigned int clientFederationNamesSize () const
 Get/set the total size of all the clients federation names.
virtual void setClientFederationNamesSize (unsigned int size)
virtual const char * clientFederationNamesPtr () const
 Get the pointer to the client federation names data.
virtual char * clientFederationNamesPtr ()
virtual const DtNetU128 * clientAddrsPtr () const
 Get the pointer to the client Addrs data.
virtual DtNetU128 * clientAddrsPtr ()
virtual const DtNetU16 * clientFederateHandlesPtr () const
 Get the pointer to the client federate handles data.
virtual DtNetU16 * clientFederateHandlesPtr ()
virtual const DtNetU32 * clientConnectionIdsPtr () const
 Get the pointer to the client connection IDs data.
virtual DtNetU32 * clientConnectionIdsPtr ()
const DtNetU16 * clientConnectionQueueStatusPtr () const
 Get the pointer to the client connection queue status data.
DtNetU16 * clientConnectionQueueStatusPtr ()
const DtNetU8 * clientHlaVersionsPtr () const
 Get the pointer to the client HLA versions data.
DtNetU8 * clientHlaVersionsPtr ()
virtual const DtNetU8 * clientFederateStatusPtr () const
virtual DtNetU8 * clientFederateStatusPtr ()
- Protected Member Functions inherited from DtAssistantMsg
 DtAssistantMsg ()
 Constructor.
virtual void sizeChanged (int size)
 Called whenever size is changed using changeSize, or insert/deleteBytes.
void initAssistantMsg (int size, DtAssistantMsgKind msgKindVal, DtBufferPtr buffer)
 Called by ctor, so not virtual.
void initAssistantMsg (const void *initial, int size, DtBufferPtr buffer)
void initAssistantMsg (const DtNetAssistantMsgHeader *header, DtBufferPtr buffer)
virtual void adjustBytes (int offset, int numBytes)
 Adjust numBytes bytes at the indicated offset in the net rep.
virtual void adjustBytes (void *address, int numBytes)
 Adjust the numBytes starting at the indicated address.
virtual void resizeForSrcDestInfo ()
 Allocates memory at the end of the message for source/destination information needed when sending messages between assistants.
virtual const
DtNetAssistantSrcDestInfo
srcDestInfoPtr () const
 Return pointer to source/destination information in the message.
virtual DtNetAssistantSrcDestInfosrcDestInfoPtr ()
virtual void setSourceHostSize (unsigned long size)
 Set/Get source host name text size.
virtual unsigned long sourceHostSize () const
virtual const char * sourceHostPtr () const
 Return pointer to source host name in message.
virtual char * sourceHostPtr ()

Detailed Description

The DtAssistantForwarderStateMsg defines a wrapper for the RTI Assistant forwarder state message sent to an assistant from a local RTI Forwarder and between assistants to relay RTI component information.

Constructor & Destructor Documentation

DtAssistantForwarderStateMsg::DtAssistantForwarderStateMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructors.

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

Referenced by clone().

DtAssistantForwarderStateMsg::DtAssistantForwarderStateMsg ( const DtNetAssistantForwarderStateMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtAssistantForwarderStateMsg::~DtAssistantForwarderStateMsg ( )
virtual

Destructor.

Member Function Documentation

void DtAssistantForwarderStateMsg::addCallback ( DtRtiAssistantServer conn,
DtAssistantForwarderStateCb  cb,
void *  usr 
)
static

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

References DtRtiAssistantServer::addMsgCallback(), and DtAssistantForwarderStateMsgKind.

Referenced by DtAssistantNetworkCompInfoMgr::DtAssistantNetworkCompInfoMgr().

void DtAssistantForwarderStateMsg::addCallback ( DtRtiAssistantPeer conn,
DtAssistantForwarderStateCb  cb,
void *  usr 
)
static

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

References DtRtiAssistantPeer::addMsgCallback(), and DtAssistantForwarderStateMsgKind.

DtInetUtils::DtInetAddrFamily DtAssistantForwarderStateMsg::addressFamily ( ) const
protectedvirtual

Get/set the IP address family.

References DtNetAssistantForwarderStateMsg::inetAddrFamily, and netAssistantForwarderStateMsg().

Referenced by clientAddrs(), and forwarderAddrs().

void DtAssistantForwarderStateMsg::clientAddrs ( std::vector< MAKRti::DtInetAddr > &  addrs) const
protectedvirtual

Get all of the client Addrs.

References addressFamily(), clientAddrsPtr(), and numClientConnections().

Referenced by getAllData().

const DtNetU128 * DtAssistantForwarderStateMsg::clientAddrsPtr ( ) const
protectedvirtual

Get the pointer to the client Addrs data.

References forwarderAddrsPtr(), and numForwarderToForwarderConnections().

Referenced by clientAddrs(), clientConnectionIdsPtr(), and setClientAddrs().

DtNetU128 * DtAssistantForwarderStateMsg::clientAddrsPtr ( )
protectedvirtual
void DtAssistantForwarderStateMsg::clientCommandArgs ( std::vector< MAKRti::DtString > &  commandArgs) const
protectedvirtual

Get all of the client command arguments.

References clientCommandArgsPtr(), and numClientConnections().

Referenced by getAllData().

const char * DtAssistantForwarderStateMsg::clientCommandArgsPtr ( ) const
protectedvirtual

Get the pointer to the client command args data.

References clientPIDsPtr(), and clientPIDsSize().

Referenced by clientCommandArgs(), clientHostNamesPtr(), and setClientCommandArgs().

char * DtAssistantForwarderStateMsg::clientCommandArgsPtr ( )
protectedvirtual
unsigned int DtAssistantForwarderStateMsg::clientCommandArgsSize ( ) const
protectedvirtual

Get/set the total size of all the client command arguments.

References DtNetAssistantForwarderStateMsg::clientCommandArgSize, and netAssistantForwarderStateMsg().

Referenced by clientHostNamesPtr(), and setAllData().

void DtAssistantForwarderStateMsg::clientConnectionIds ( std::vector< unsigned > &  ids) const
protectedvirtual

Get all of the client connection IDs.

References clientConnectionIdsPtr(), and numClientConnections().

Referenced by getAllData().

const DtNetU32 * DtAssistantForwarderStateMsg::clientConnectionIdsPtr ( ) const
protectedvirtual

Get the pointer to the client connection IDs data.

References clientAddrsPtr(), and numClientConnections().

Referenced by clientConnectionIds(), forwarderPortsPtr(), and setClientConnectionIds().

DtNetU32 * DtAssistantForwarderStateMsg::clientConnectionIdsPtr ( )
protectedvirtual
void DtAssistantForwarderStateMsg::clientConnectionQueueStatus ( std::vector< int > &  queueStatus) const
protectedvirtual

Get all of the client connection queue status.

References clientConnectionQueueStatusPtr(), and numClientConnections().

Referenced by getAllData(), and toString().

const DtNetU16 * DtAssistantForwarderStateMsg::clientConnectionQueueStatusPtr ( ) const
protected

Get the pointer to the client connection queue status data.

References clientFederateHandlesPtr(), and numClientConnections().

Referenced by clientConnectionQueueStatus(), clientHlaVersionsPtr(), and setClientConnectionQueueStatus().

DtNetU16 * DtAssistantForwarderStateMsg::clientConnectionQueueStatusPtr ( )
protected
void DtAssistantForwarderStateMsg::clientFederateHandles ( std::vector< int > &  handles) const
protectedvirtual

Get all of the client federate handles.

References clientFederateHandlesPtr(), and numClientConnections().

Referenced by getAllData(), and toString().

const DtNetU16 * DtAssistantForwarderStateMsg::clientFederateHandlesPtr ( ) const
protectedvirtual

Get the pointer to the client federate handles data.

References forwarderPortsPtr(), and numForwarderToForwarderConnections().

Referenced by clientConnectionQueueStatusPtr(), clientFederateHandles(), and setClientFederateHandles().

DtNetU16 * DtAssistantForwarderStateMsg::clientFederateHandlesPtr ( )
protectedvirtual
void DtAssistantForwarderStateMsg::clientFederateStatus ( std::vector< DtAssistantMsgFederateStatus > &  federateStatus) const
protectedvirtual

Get all of the client connection federate status.

References clientFederateStatusPtr(), and numClientConnections().

Referenced by getAllData(), and toString().

const DtNetU8 * DtAssistantForwarderStateMsg::clientFederateStatusPtr ( ) const
protectedvirtual
DtNetU8 * DtAssistantForwarderStateMsg::clientFederateStatusPtr ( )
protectedvirtual
void DtAssistantForwarderStateMsg::clientFederationNames ( std::vector< MAKRti::DtString > &  names) const
protectedvirtual

Get all of the client Federation Names.

References clientFederationNamesPtr(), and numClientConnections().

Referenced by getAllData().

const char * DtAssistantForwarderStateMsg::clientFederationNamesPtr ( ) const
protectedvirtual

Get the pointer to the client federation names data.

References clientHostNamesPtr(), and clientHostNamesSize().

Referenced by clientFederationNames(), and setClientFederationNames().

char * DtAssistantForwarderStateMsg::clientFederationNamesPtr ( )
protectedvirtual
unsigned int DtAssistantForwarderStateMsg::clientFederationNamesSize ( ) const
protectedvirtual

Get/set the total size of all the clients federation names.

References DtNetAssistantForwarderStateMsg::clientFederationNameSize, and netAssistantForwarderStateMsg().

Referenced by setAllData().

void DtAssistantForwarderStateMsg::clientHlaVersions ( std::vector< DtHlaVersionId > &  hlaVersions) const
protectedvirtual

Get all of the client connection HLA versions.

References clientHlaVersionsPtr(), and numClientConnections().

Referenced by getAllData(), and toString().

const DtNetU8 * DtAssistantForwarderStateMsg::clientHlaVersionsPtr ( ) const
protected

Get the pointer to the client HLA versions data.

References clientConnectionQueueStatusPtr(), and numClientConnections().

Referenced by clientFederateStatusPtr(), clientHlaVersions(), and setClientHlaVersions().

DtNetU8 * DtAssistantForwarderStateMsg::clientHlaVersionsPtr ( )
protected
void DtAssistantForwarderStateMsg::clientHostNames ( std::vector< MAKRti::DtString > &  names) const
protectedvirtual

Get all of the client Host Names.

References clientHostNamesPtr(), and numClientConnections().

Referenced by getAllData().

const char * DtAssistantForwarderStateMsg::clientHostNamesPtr ( ) const
protectedvirtual

Get the pointer to the client host names data.

References clientCommandArgsPtr(), and clientCommandArgsSize().

Referenced by clientFederationNamesPtr(), clientHostNames(), and setClientHostNames().

char * DtAssistantForwarderStateMsg::clientHostNamesPtr ( )
protectedvirtual
unsigned int DtAssistantForwarderStateMsg::clientHostNamesSize ( ) const
protectedvirtual

Get/set the total size of all the clients host name.

References DtNetAssistantForwarderStateMsg::clientHostNameSize, and netAssistantForwarderStateMsg().

Referenced by clientFederationNamesPtr(), and setAllData().

void DtAssistantForwarderStateMsg::clientNames ( std::vector< MAKRti::DtString > &  names) const
protectedvirtual

Get all of the client Names.

References clientNamesPtr(), and numClientConnections().

Referenced by getAllData().

const char * DtAssistantForwarderStateMsg::clientNamesPtr ( ) const
protectedvirtual

Get the pointer to the client names data.

References forwarderHostNamesPtr(), and forwarderHostNamesSize().

Referenced by clientNames(), clientTypesPtr(), and setClientNames().

char * DtAssistantForwarderStateMsg::clientNamesPtr ( )
protectedvirtual
unsigned int DtAssistantForwarderStateMsg::clientNamesSize ( ) const
protectedvirtual

Get/set the total size of all the clients names.

References DtNetAssistantForwarderStateMsg::clientNameSize, and netAssistantForwarderStateMsg().

Referenced by clientTypesPtr().

void DtAssistantForwarderStateMsg::clientPIDs ( std::vector< MAKRti::DtString > &  pids) const
protectedvirtual

Get all of the client pids.

References clientPIDsPtr(), and numClientConnections().

Referenced by getAllData().

const char * DtAssistantForwarderStateMsg::clientPIDsPtr ( ) const
protectedvirtual

Get the pointer to the client pids data.

References clientProcessNamesPtr(), and clientProcessNamesSize().

Referenced by clientCommandArgsPtr(), clientPIDs(), and setClientPIDs().

char * DtAssistantForwarderStateMsg::clientPIDsPtr ( )
protectedvirtual
unsigned int DtAssistantForwarderStateMsg::clientPIDsSize ( ) const
protectedvirtual

Get/set the total size of all the client PIDS.

References DtNetAssistantForwarderStateMsg::clientPIDSize, and netAssistantForwarderStateMsg().

Referenced by clientCommandArgsPtr(), and setAllData().

void DtAssistantForwarderStateMsg::clientProcessNames ( std::vector< MAKRti::DtString > &  processNames) const
protectedvirtual

Get all of the client process names.

References clientProcessNamesPtr(), and numClientConnections().

Referenced by getAllData().

const char * DtAssistantForwarderStateMsg::clientProcessNamesPtr ( ) const
protectedvirtual

Get the pointer to the client Process names data.

References clientTypesPtr(), and clientTypesSize().

Referenced by clientPIDsPtr(), clientProcessNames(), and setClientProcessNames().

char * DtAssistantForwarderStateMsg::clientProcessNamesPtr ( )
protectedvirtual
unsigned int DtAssistantForwarderStateMsg::clientProcessNamesSize ( ) const
protectedvirtual

Get/set the total size of all the client process names.

References DtNetAssistantForwarderStateMsg::clientProcessNameSize, and netAssistantForwarderStateMsg().

Referenced by clientPIDsPtr(), and setAllData().

void DtAssistantForwarderStateMsg::clientTypes ( std::vector< MAKRti::DtString > &  strTypes) const
protectedvirtual

Get all of the client types.

References clientTypesPtr(), and numClientConnections().

Referenced by getAllData().

const char * DtAssistantForwarderStateMsg::clientTypesPtr ( ) const
protectedvirtual

Get the pointer to the client types data.

References clientNamesPtr(), and clientNamesSize().

Referenced by clientProcessNamesPtr(), clientTypes(), and setClientTypes().

char * DtAssistantForwarderStateMsg::clientTypesPtr ( )
protectedvirtual
unsigned int DtAssistantForwarderStateMsg::clientTypesSize ( ) const
protectedvirtual

Get/set the total size of all the client types.

References DtNetAssistantForwarderStateMsg::clientTypeSize, and netAssistantForwarderStateMsg().

Referenced by clientProcessNamesPtr(), and setAllData().

DtAssistantMsg * DtAssistantForwarderStateMsg::clone ( bool  copy = true) const
virtual

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

Implements DtAssistantMsg.

References DtAssistantForwarderStateMsg(), and netAssistantForwarderStateMsg().

Referenced by DtAssistantForwarderInfo::updateFromStateMsg().

static DtAssistantMsg* DtAssistantForwarderStateMsg::create ( const DtNetAssistantMsgHeader initial,
MAKRti::DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
static

Creators.

static DtAssistantMsg* DtAssistantForwarderStateMsg::create ( MAKRti::DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)
static
void DtAssistantForwarderStateMsg::forwarderAddrs ( std::vector< MAKRti::DtInetAddr > &  addrs) const
protectedvirtual

Get all of the forwarder Addrs.

References addressFamily(), forwarderAddrsPtr(), and numForwarderToForwarderConnections().

Referenced by getAllData().

const DtNetU128 * DtAssistantForwarderStateMsg::forwarderAddrsPtr ( ) const
protectedvirtual

Get the pointer to the forwarder Addrs data.

References netAssistantForwarderStateMsg().

Referenced by clientAddrsPtr(), forwarderAddrs(), setAllData(), and setForwarderAddrs().

DtNetU128 * DtAssistantForwarderStateMsg::forwarderAddrsPtr ( )
protectedvirtual
void DtAssistantForwarderStateMsg::forwarderHostNames ( std::vector< MAKRti::DtString > &  names) const
protectedvirtual

Get/set all of the forwarder Host Names.

References forwarderHostNamesPtr(), and numForwarderToForwarderConnections().

Referenced by getAllData().

const char * DtAssistantForwarderStateMsg::forwarderHostNamesPtr ( ) const
protectedvirtual

Get the pointer to the forwarder Hostnames data.

References forwarderIdsPtr(), and forwarderIdsSize().

Referenced by clientNamesPtr(), forwarderHostNames(), and setForwarderHostNames().

char * DtAssistantForwarderStateMsg::forwarderHostNamesPtr ( )
protectedvirtual
unsigned int DtAssistantForwarderStateMsg::forwarderHostNamesSize ( ) const
protectedvirtual

Get/set the total size of all the forwarder host names.

References DtNetAssistantForwarderStateMsg::forwarderHostsSize, and netAssistantForwarderStateMsg().

Referenced by clientNamesPtr(), and setAllData().

void DtAssistantForwarderStateMsg::forwarderIds ( std::vector< MAKRti::DtString > &  ids) const
protectedvirtual

Get/set all of the forwarder ids.

References forwarderIdsPtr(), and numForwarderToForwarderConnections().

Referenced by getAllData().

const char * DtAssistantForwarderStateMsg::forwarderIdsPtr ( ) const
protectedvirtual

Get the pointer to all the forwarder ids.

References clientFederateStatusPtr(), and numClientConnections().

Referenced by forwarderHostNamesPtr(), forwarderIds(), and setForwarderIds().

char * DtAssistantForwarderStateMsg::forwarderIdsPtr ( )
protectedvirtual
unsigned int DtAssistantForwarderStateMsg::forwarderIdsSize ( ) const
protectedvirtual

Get/set the total size of all the forwarder ids.

References DtNetAssistantForwarderStateMsg::forwarderIdsSize, and netAssistantForwarderStateMsg().

Referenced by forwarderHostNamesPtr(), and setAllData().

void DtAssistantForwarderStateMsg::forwarderPorts ( std::vector< int > &  ports) const
protectedvirtual

Get all of the forwarder Ports.

References forwarderPortsPtr(), and numForwarderToForwarderConnections().

Referenced by getAllData().

const DtNetU16 * DtAssistantForwarderStateMsg::forwarderPortsPtr ( ) const
protectedvirtual

Get the pointer to the forwarder Ports data.

References clientConnectionIdsPtr(), and numClientConnections().

Referenced by clientFederateHandlesPtr(), forwarderPorts(), and setForwarderPorts().

DtNetU16 * DtAssistantForwarderStateMsg::forwarderPortsPtr ( )
protectedvirtual
void DtAssistantForwarderStateMsg::getAllData ( unsigned int &  numForwarderToForwarderConns,
std::vector< MAKRti::DtString > &  forwarderIdentifiers,
std::vector< MAKRti::DtString > &  forwarderConnectionHostNames,
std::vector< MAKRti::DtInetAddr > &  forwarderConnectionAddrs,
std::vector< int > &  forwarderConnectionPorts,
unsigned int &  numExecConns,
unsigned int &  numForwarderClientConns,
std::vector< MAKRti::DtString > &  clientConnectionNames,
std::vector< MAKRti::DtString > &  clientConnectionTypeNames,
std::vector< MAKRti::DtString > &  clientConnectionProcessNames,
std::vector< MAKRti::DtString > &  clientConnectionPIDs,
std::vector< MAKRti::DtString > &  clientConnectionCommandArgs,
std::vector< MAKRti::DtString > &  clientConnectionHostNames,
std::vector< MAKRti::DtInetAddr > &  clientConnectionAddrs,
std::vector< MAKRti::DtString > &  clientConnectionFederationNames,
std::vector< int > &  clientFederateHandles,
std::vector< unsigned > &  clientConnIds,
std::vector< int > &  clientConnectionQueueStatus,
std::vector< DtHlaVersionId > &  clientHlaVersions,
std::vector< DtAssistantMsgFederateStatus > &  clientFederateStat 
) const
DtAssistantMsgKind DtAssistantForwarderStateMsg::internalMsgKind ( )
protectedvirtual

Returns the kind of a DtNetAssistantForwarderStateMsg message.

Implements DtAssistantMsg.

References DtAssistantForwarderStateMsgKind.

Referenced by DtAssistantForwarderStateMsg().

int DtAssistantForwarderStateMsg::minSize ( ) const
protectedvirtual

Returns minimum size of a message, including header.

Referenced by DtAssistantForwarderStateMsg().

DtNetAssistantForwarderStateMsg * DtAssistantForwarderStateMsg::netAssistantForwarderStateMsg ( )
protectedvirtual
const DtNetAssistantForwarderStateMsg * DtAssistantForwarderStateMsg::netAssistantForwarderStateMsg ( ) const
protectedvirtual
unsigned int DtAssistantForwarderStateMsg::numClientConnections ( ) const
virtual
unsigned int DtAssistantForwarderStateMsg::numClientConnectionsThatAreExecs ( ) const
virtual
unsigned int DtAssistantForwarderStateMsg::numForwarderToForwarderConnections ( ) const
virtual
void DtAssistantForwarderStateMsg::printData ( ) const
virtual

Print the data section.

Reimplemented from DtAssistantMsg.

References numClientConnections(), and numForwarderToForwarderConnections().

void DtAssistantForwarderStateMsg::removeCallback ( DtRtiAssistantServer conn,
DtAssistantForwarderStateCb  cb,
void *  usr 
)
static
void DtAssistantForwarderStateMsg::removeCallback ( DtRtiAssistantPeer conn,
DtAssistantForwarderStateCb  cb,
void *  usr 
)
static
void DtAssistantForwarderStateMsg::setAddressFamily ( DtInetUtils::DtInetAddrFamily  fam)
protectedvirtual
bool DtAssistantForwarderStateMsg::setAllData ( unsigned int  numForwarderToForwarderConns,
const std::vector< MAKRti::DtString > &  forwarderIdentifiers,
const std::vector< MAKRti::DtString > &  forwarderConnectionHostNames,
const std::vector< MAKRti::DtInetAddr > &  forwarderConnectionAddrs,
const std::vector< int > &  forwarderConnectionPorts,
unsigned int  numExecConns,
unsigned int  numForwarderClientConns,
const std::vector< MAKRti::DtString > &  clientConnectionNames,
const std::vector< MAKRti::DtString > &  clientConnectionTypeNames,
const std::vector< MAKRti::DtString > &  clientConnectionProcessNames,
const std::vector< MAKRti::DtString > &  clientConnectionPIDs,
const std::vector< MAKRti::DtString > &  clientConnectionCommandArgs,
const std::vector< MAKRti::DtString > &  clientConnectionHostNames,
const std::vector< MAKRti::DtInetAddr > &  clientConnectionAddrs,
const std::vector< MAKRti::DtString > &  clientConnectionFederationNames,
const std::vector< int > &  clientFederateHandles,
const std::vector< unsigned > &  clientConnIds,
const std::vector< int > &  clientConnectionQueueStatus,
const std::vector< DtHlaVersionId > &  clientHlaVersions,
const std::vector< DtAssistantMsgFederateStatus > &  clientConnectionFederateStatus 
)
bool DtAssistantForwarderStateMsg::setClientAddrs ( const std::vector< MAKRti::DtInetAddr > &  addrs)
protectedvirtual

References clientAddrsPtr(), and numClientConnections().

Referenced by setAllData().

bool DtAssistantForwarderStateMsg::setClientCommandArgs ( const std::vector< MAKRti::DtString > &  commandArgs)
protectedvirtual
void DtAssistantForwarderStateMsg::setClientCommandArgsSize ( unsigned int  size)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientConnectionIds ( const std::vector< unsigned > &  ids)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientConnectionQueueStatus ( const std::vector< int > &  queueStatus)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientFederateHandles ( const std::vector< int > &  handles)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientFederateStatus ( const std::vector< DtAssistantMsgFederateStatus > &  federateStatus)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientFederationNames ( const std::vector< MAKRti::DtString > &  names)
protectedvirtual
void DtAssistantForwarderStateMsg::setClientFederationNamesSize ( unsigned int  size)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientHlaVersions ( const std::vector< DtHlaVersionId > &  hlaVersions)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientHostNames ( const std::vector< MAKRti::DtString > &  names)
protectedvirtual

References clientHostNamesPtr(), and numClientConnections().

Referenced by setAllData().

void DtAssistantForwarderStateMsg::setClientHostNamesSize ( unsigned int  size)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientNames ( const std::vector< MAKRti::DtString > &  names)
protectedvirtual

References clientNamesPtr(), and numClientConnections().

Referenced by setAllData().

void DtAssistantForwarderStateMsg::setClientNamesSize ( unsigned int  size)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientPIDs ( const std::vector< MAKRti::DtString > &  pids)
protectedvirtual

References clientPIDsPtr(), and numClientConnections().

Referenced by setAllData().

void DtAssistantForwarderStateMsg::setClientPIDsSize ( unsigned int  size)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientProcessNames ( const std::vector< MAKRti::DtString > &  processNames)
protectedvirtual
void DtAssistantForwarderStateMsg::setClientProcessNamesSize ( unsigned int  size)
protectedvirtual
bool DtAssistantForwarderStateMsg::setClientTypes ( const std::vector< MAKRti::DtString > &  strTypes)
protectedvirtual

References clientTypesPtr(), and numClientConnections().

Referenced by setAllData().

void DtAssistantForwarderStateMsg::setClientTypesSize ( unsigned int  size)
protectedvirtual
bool DtAssistantForwarderStateMsg::setForwarderAddrs ( const std::vector< MAKRti::DtInetAddr > &  addrs)
protectedvirtual
bool DtAssistantForwarderStateMsg::setForwarderHostNames ( const std::vector< MAKRti::DtString > &  names)
protectedvirtual
void DtAssistantForwarderStateMsg::setForwarderHostNamesSize ( unsigned int  size)
protectedvirtual
bool DtAssistantForwarderStateMsg::setForwarderIds ( const std::vector< MAKRti::DtString > &  ids)
protectedvirtual
void DtAssistantForwarderStateMsg::setForwarderIdsSize ( unsigned int  size)
protectedvirtual
bool DtAssistantForwarderStateMsg::setForwarderPorts ( const std::vector< int > &  ports)
protectedvirtual
void DtAssistantForwarderStateMsg::setNumClientConnections ( unsigned int  num)
protectedvirtual
void DtAssistantForwarderStateMsg::setNumClientConnectionsThatAreExecs ( unsigned int  num)
protectedvirtual
void DtAssistantForwarderStateMsg::setNumForwarderToForwarderConnections ( unsigned int  num)
protectedvirtual
DtString DtAssistantForwarderStateMsg::toString ( ) const

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

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)