|
| | DtAssistantExecStateMsg (MAKRti::DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | Constructors. More...
|
| |
| | DtAssistantExecStateMsg (const DtNetAssistantExecStateMsg *netRepMsg, MAKRti::DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| |
| virtual | ~DtAssistantExecStateMsg () |
| | Destructor. More...
|
| |
| virtual DtAssistantMsg * | clone (bool copy=true) const |
| | Return a copy/empty object of the same type as this. More...
|
| |
| virtual void | printData () const |
| | Print the data section. More...
|
| |
| void | getAllData (unsigned int &numFedexs, std::vector< unsigned int > &fedexHandles, std::vector< MAKRti::DtString > &fedexNames, std::vector< unsigned int > &fedsInEachFedex, std::vector< unsigned int > &fedHandles, std::vector< MAKRti::DtString > &fedNames, std::vector< MAKRti::DtString > &fedHostNames, std::vector< MAKRti::DtInetAddr > &federateAddrs, std::vector< DtHlaVersionId > &hlaVers) const |
| |
| bool | setAllData (unsigned int numFedexs, const std::vector< unsigned int > &fedexHandles, const std::vector< MAKRti::DtString > &fedexNames, const std::vector< unsigned int > &federatesInEachFedex, const std::vector< unsigned int > &fedHandles, const std::vector< MAKRti::DtString > &fedNames, const std::vector< MAKRti::DtString > &fedHostNames, const std::vector< MAKRti::DtInetAddr > &federateAddrs, const std::vector< DtHlaVersionId > &hlaVers) |
| |
| virtual | ~DtAssistantMsg () |
| | Destructor. More...
|
| |
| virtual DtNetAssistantMsgHeader * | netHeader () const |
| | Get header of network representation. More...
|
| |
| virtual int | version () const |
| | Return the message version. More...
|
| |
| virtual bool | isValidVersion () const |
| | Returns bool: message version is valid? More...
|
| |
| virtual DtAssistantMsgKind | msgKind () const |
| | Get the message kind. More...
|
| |
| virtual void | print () const |
| | Printing functions. More...
|
| |
| virtual void | printHeader () const |
| |
| virtual void | printSrcDest () const |
| |
| virtual bool | isOk () const |
| | Message is good? More...
|
| |
| bool | isAssistantToAssistantMessage () const |
| | Returns whether or not this message contains source/destination information included in messages sent between assistants. More...
|
| |
| virtual MAKRti::DtInetAddr | sourceAddr () const |
| | Get/Set the IP address of the source of this message. More...
|
| |
| virtual void | setSourceAddr (const MAKRti::DtInetAddr &addr) |
| |
| virtual int | sourceId () const |
| | Get/Set the ID of the source of this message. More...
|
| |
| virtual void | setSourceId (int id) |
| |
| virtual MAKRti::DtString | sourceHost () const |
| | Get/Set the host name of the source of this message. More...
|
| |
| virtual void | setSourceHost (const MAKRti::DtString &addr) |
| |
| virtual MAKRti::DtInetAddr | destAddr () const |
| | Get/Set the IP address of the destination of this message. More...
|
| |
| virtual void | setDestAddr (const MAKRti::DtInetAddr &addr) |
| |
| virtual int | destId () const |
| | Get/Set the ID of the destination of this message. More...
|
| |
| virtual void | setDestId (int id) |
| |
| virtual int | compId () const |
| | Get/Set the related component's connection ID. More...
|
| |
| virtual void | setCompId (int compId) |
| |
| virtual const DtAssistantUuid & | sourceUuid () const |
| | Get/Set the uuid of the source of this message. More...
|
| |
| virtual void | setSourceUuid (const DtAssistantUuid &uuid) |
| |
| virtual bool | isForeign () const |
| | Get/Set the whether the source considers the destination foreign Assistant-to-Assistant messages only. More...
|
| |
| virtual void | setIsForeign (bool isForeignDestination) |
| |
| virtual DtU32 | sequence () const |
| | Get/Set sequence number Assistant-to-Assistant messages only. More...
|
| |
| virtual void | setSequence (DtU32 sequenceNumber) |
| |
|
virtual
DtNetAssistantExecStateMsg * | netAssistantExecStateMsg () |
| | The network representation for the message. More...
|
| |
virtual const
DtNetAssistantExecStateMsg * | netAssistantExecStateMsg () const |
| |
| virtual DtAssistantMsgKind | internalMsgKind () |
| | Returns the kind of a DtAssistantExecStateMsg message. More...
|
| |
| virtual int | minSize () const |
| | Returns minimum size of a message, including header. More...
|
| |
| virtual unsigned int | numFederations () const |
| | Get / Set total number of federations this exec has. More...
|
| |
| virtual void | setNumFederations (unsigned int numFed) |
| |
| virtual unsigned long | federationNamesSize () const |
| | Get / Set total size of the names of all of the { sizeOfThisFedexName + thisFedexName }. More...
|
| |
| virtual void | setFederationNamesSize (unsigned long) |
| |
| virtual const char * | federationNamesPtr () const |
| | Get pointer at start of federation Names data. More...
|
| |
| virtual char * | federationNamesPtr () |
| |
| virtual bool | setFederationNames (const std::vector< MAKRti::DtString > &fedexNames) |
| |
| virtual void | federationNames (std::vector< MAKRti::DtString > &names) const |
| |
| virtual unsigned int | numFederates () const |
| | Get / Set the total number of federates in all federations. More...
|
| |
| virtual void | setNumFederates (unsigned int totalNum) |
| |
virtual
MAKRti::DtInetUtils::DtInetAddrFamily | addressFamily () const |
| | Get / Set address family of the federation host addresses. More...
|
| |
| virtual void | setAddressFamily (MAKRti::DtInetUtils::DtInetAddrFamily totalNum) |
| |
| virtual unsigned long | federateNamesSize () const |
| | Get / Set total size of the names of all the { sizeOfThisFederateName + thisFederateName }. More...
|
| |
| virtual void | setFederateNamesSize (unsigned long) |
| |
| virtual const char * | federateNamesPtr () const |
| | Get pointer at start of federate Names data. More...
|
| |
| virtual char * | federateNamesPtr () |
| |
| virtual bool | setFederateNames (const std::vector< MAKRti::DtString > &fedNames) |
| |
| virtual void | federateNames (std::vector< MAKRti::DtString > &fedNames) const |
| |
| virtual unsigned long | federateHostNamesSize () const |
| | Get / Set total size of the names of all the { sizeOfThisFederateHostName + thisFederateHostNameName }. More...
|
| |
| virtual void | setFederateHostNamesSize (unsigned long) |
| |
| virtual const char * | federateHostNamesPtr () const |
| | Get pointer at start of federate Host names data. More...
|
| |
| virtual char * | federateHostNamesPtr () |
| |
| virtual bool | setFederateHostNames (const std::vector< MAKRti::DtString > &fedHostNames) |
| |
| virtual void | federateHostNames (std::vector< MAKRti::DtString > &names) const |
| |
| virtual void | federationHandles (std::vector< unsigned int > &handles) const |
| | Get / Set vector containing all federation handles. More...
|
| |
| virtual bool | setFederationHandles (const std::vector< unsigned int > &fedexHandles) |
| |
| virtual const DtNetU32 * | federationHandlesPtr () const |
| | Get pointer at start of federationHandles data. More...
|
| |
| virtual DtNetU32 * | federationHandlesPtr () |
| |
| virtual void | federateHandles (std::vector< unsigned int > &handles) const |
| | Get / Set vector containing all federate handles. More...
|
| |
| virtual bool | setFederateHandles (const std::vector< unsigned int > &fedHandles) |
| |
| virtual const DtNetU32 * | federateHandlesPtr () const |
| | Get pointer at start of federateHandles data. More...
|
| |
| virtual DtNetU32 * | federateHandlesPtr () |
| |
| virtual void | federateHlaVersions (std::vector< DtHlaVersionId > &versions) const |
| | Get / Set vector containing all federate HLA versions. More...
|
| |
| virtual bool | setFederateHlaVersions (const std::vector< DtHlaVersionId > &versions) |
| |
| virtual const DtNetU8 * | federateHlaVersionsPtr () const |
| | Get pointer at start of federateHlaVersions data. More...
|
| |
| virtual DtNetU8 * | federateHlaVersionsPtr () |
| |
| virtual void | federateHostAddresses (std::vector< MAKRti::DtInetAddr > &addrs) const |
| | Get / Set vector containing all federate host Addresses. More...
|
| |
| virtual bool | setFederateHostAddresses (const std::vector< MAKRti::DtInetAddr > &federateAddrs) |
| |
| virtual const DtNetU128 * | federateHostAddrsPtr () const |
| | Get pointer at start of federate Host Addresses data. More...
|
| |
| virtual DtNetU128 * | federateHostAddrsPtr () |
| |
| virtual void | numFederatesInEachFederation (std::vector< unsigned int > &numFeds) const |
| | Get / Set vector containing num Federates in each federation. More...
|
| |
| virtual bool | setNumFederatesInEachFederation (const std::vector< unsigned int > &federatesInEachFedex) |
| |
| virtual const DtNetU16 * | federatesInEachFederationPtr () const |
| |
| virtual DtNetU16 * | federatesInEachFederationPtr () |
| |
| | DtAssistantMsg () |
| | Constructor. More...
|
| |
| virtual void | sizeChanged (int size) |
| | Called whenever size is changed using changeSize, or insert/deleteBytes. More...
|
| |
| void | initAssistantMsg (int size, DtAssistantMsgKind msgKindVal, DtBufferPtr buffer) |
| | Called by ctor, so not virtual. More...
|
| |
| 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. More...
|
| |
| virtual void | adjustBytes (void *address, int numBytes) |
| | Adjust the numBytes starting at the indicated address. More...
|
| |
| virtual void | resizeForSrcDestInfo () |
| | Allocates memory at the end of the message for source/destination information needed when sending messages between assistants. More...
|
| |
virtual const
DtNetAssistantSrcDestInfo * | srcDestInfoPtr () const |
| | Return pointer to source/destination information in the message. More...
|
| |
| virtual DtNetAssistantSrcDestInfo * | srcDestInfoPtr () |
| |
| virtual void | setSourceHostSize (unsigned long size) |
| | Set/Get source host name text size. More...
|
| |
| virtual unsigned long | sourceHostSize () const |
| |
| virtual const char * | sourceHostPtr () const |
| | Return pointer to source host name in message. More...
|
| |
| virtual char * | sourceHostPtr () |
| |
The DtAssistantExecStateMsg defines a wrapper for the RTI Assistant federation state message sent to an assistant from a local rtiexec and between assistants to relay federation information.