![]() |
MAK RTIspy API Documentation for HLA 1.3
|
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:Public Member Functions | |
| DtAssistantRtiForwarderCompInfoMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructors. More... | |
| DtAssistantRtiForwarderCompInfoMsg (const DtNetAssistantRtiForwarderCompInfoMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| virtual | ~DtAssistantRtiForwarderCompInfoMsg () |
| Destructor. More... | |
| virtual DtAssistantMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. More... | |
| virtual void | setHostName (const MAKRti::DtString &name) |
| Set RTI Forwarder host name. More... | |
| virtual MAKRti::DtString | hostName () const |
| Get RTI Forwarder host name. More... | |
| virtual void | setTcpAddress (const MAKRti::DtInetAddr &ipAddr) |
| Set TCP forwarder IP address. More... | |
| virtual MAKRti::DtInetAddr | tcpAddress () const |
| Get TCP forwarder IP address. More... | |
| virtual void | setTcpPort (int port) |
| Set TCP port number. More... | |
| virtual int | tcpPort () const |
| Get TCP port number. More... | |
| virtual void | setTcpIfAddress (const MAKRti::DtInetAddr &ipAddr) |
| Set TCP interface IP address. More... | |
| virtual MAKRti::DtInetAddr | tcpIfAddress () const |
| Get TCP interface IP address. More... | |
| virtual void | setUdpAddress (const MAKRti::DtInetAddr &ipAddr) |
| Set UDP IP address. More... | |
| virtual MAKRti::DtInetAddr | udpAddress () const |
| Get UDP IP address. More... | |
| virtual void | setUdpPort (int port) |
| Set UDP port number. More... | |
| virtual int | udpPort () const |
| Get UDP port number. More... | |
| virtual void | setUdpIfAddress (const MAKRti::DtInetAddr &ipAddr) |
| Set UDP interface IP address. More... | |
| virtual MAKRti::DtInetAddr | udpIfAddress () const |
| Get UDP interface IP address. More... | |
| virtual void | setFullCompliance (bool val) |
| Set the flag indicating if RTI Forwarder is running with full compliance. More... | |
| virtual bool | fullCompliance () const |
| Get the flag indicating if RTI Forwarder is running with full compliance. More... | |
| virtual void | setisRoutesFileBased (bool val) |
| Set the flag indicating if RTI Forwarder is routes file based. More... | |
| virtual bool | isRoutesFileBased () const |
| Get the flag indicating if RTI Forwarder is routes file based. More... | |
| virtual MAKRti::DtInetAddr | additionalForwarderConnection () const |
| Get the optional additional forwarder to connect to. More... | |
| virtual void | setAdditionalForwarderConnection (const MAKRti::DtInetAddr &addr) |
| Set the optional additional forwarder to connect to. More... | |
| virtual int | forwarderPort () const |
| Get the forwarder port. More... | |
| virtual void | setForwarderPort (int forwarderPortToUse) |
| Set the forwarder port. More... | |
| virtual bool | execConfirmed () const |
| Get exec connection status. More... | |
| virtual void | setExecConfirmed (bool isConnected) |
| Set status of exec connection. More... | |
| virtual void | setLogFilename (const MAKRti::DtFilename &filename) |
| Set component log filename. More... | |
| virtual MAKRti::DtFilename | logFilename () const |
| Get component log filename. More... | |
| virtual void | setNotifyLevel (DtNotifyLevelType level) |
| Set notify level. More... | |
| virtual DtNotifyLevelType | notifyLevel () const |
| Get notify level. More... | |
| virtual void | printData () const |
| Print the data section. More... | |
Public Member Functions inherited from DtAssistantMsg | |
| 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) |
Static Public Member Functions | |
| static DtAssistantMsg * | create (const DtNetAssistantMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creators. More... | |
| static DtAssistantMsg * | create (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. More... | |
| static void | removeCallback (DtRtiAssistantServer *conn, DtAssistantRtiForwarderCompInfoCb 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. More... | |
Protected Member Functions | |
| virtual void | setAddressFamily (MAKRti::DtInetUtils::DtInetAddrFamily fam) |
| Set the IP address family. More... | |
| virtual MAKRti::DtInetUtils::DtInetAddrFamily | addressFamily () const |
| Get the IP address family. More... | |
| virtual DtNetAssistantRtiForwarderCompInfoMsg * | netAssistantRtiForwarderCompInfoMsg () |
| The network representation for the RTI Forwarder component information. More... | |
| virtual const DtNetAssistantRtiForwarderCompInfoMsg * | netAssistantRtiForwarderCompInfoMsg () const |
| virtual DtAssistantMsgKind | internalMsgKind () |
| Returns the kind of a DtAssistantRtiForwarderCompInfoMsg message. More... | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. More... | |
| virtual void | setHostNameSize (unsigned long size) |
| Set/Get RTI Forwarder host name size. More... | |
| virtual unsigned long | hostNameSize () const |
| virtual const char * | hostNamePtr () const |
| Return pointer to RTI Forwarder host name location in message. More... | |
| virtual char * | hostNamePtr () |
| virtual void | setLogFilenameSize (unsigned long size) |
| Set/Get log filename size. More... | |
| virtual unsigned long | logFilenameSize () const |
| virtual const char * | logFilenamePtr () const |
| Return pointer to component name location in message. More... | |
| virtual char * | logFilenamePtr () |
Protected Member Functions inherited from DtAssistantMsg | |
| 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 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.
| DtAssistantRtiForwarderCompInfoMsg::DtAssistantRtiForwarderCompInfoMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructors.
| DtAssistantRtiForwarderCompInfoMsg::DtAssistantRtiForwarderCompInfoMsg | ( | const DtNetAssistantRtiForwarderCompInfoMsg * | netRep, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
|
virtual |
Destructor.
|
static |
Adds or removes a callback with the given Assistant server for this message type.
|
virtual |
Get the optional additional forwarder to connect to.
|
protectedvirtual |
Get the IP address family.
|
virtual |
Return a copy/empty object of the same type as this.
Implements DtAssistantMsg.
|
static |
Creators.
|
static |
|
virtual |
Get exec connection status.
|
virtual |
Get the forwarder port.
|
virtual |
Get the flag indicating if RTI Forwarder is running with full compliance.
|
virtual |
Get RTI Forwarder host name.
|
protectedvirtual |
Return pointer to RTI Forwarder host name location in message.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Returns the kind of a DtAssistantRtiForwarderCompInfoMsg message.
Implements DtAssistantMsg.
|
virtual |
Get the flag indicating if RTI Forwarder is routes file based.
|
virtual |
Get component log filename.
|
protectedvirtual |
Return pointer to component name location in message.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Returns minimum size of a message, including header.
|
protectedvirtual |
The network representation for the RTI Forwarder component information.
|
protectedvirtual |
|
virtual |
Get notify level.
|
virtual |
Print the data section.
Reimplemented from DtAssistantMsg.
|
static |
|
virtual |
Set the optional additional forwarder to connect to.
|
protectedvirtual |
Set the IP address family.
|
virtual |
Set status of exec connection.
|
virtual |
Set the forwarder port.
|
virtual |
Set the flag indicating if RTI Forwarder is running with full compliance.
|
virtual |
Set RTI Forwarder host name.
|
protectedvirtual |
Set/Get RTI Forwarder host name size.
|
virtual |
Set the flag indicating if RTI Forwarder is routes file based.
|
virtual |
Set component log filename.
|
protectedvirtual |
Set/Get log filename size.
|
virtual |
Set notify level.
|
virtual |
Set TCP forwarder IP address.
|
virtual |
Set TCP interface IP address.
|
virtual |
Set TCP port number.
|
virtual |
Set UDP IP address.
|
virtual |
Set UDP interface IP address.
|
virtual |
Set UDP port number.
|
virtual |
Get TCP forwarder IP address.
|
virtual |
Get TCP interface IP address.
|
virtual |
Get TCP port number.
|
virtual |
Get UDP IP address.
|
virtual |
Get UDP interface IP address.
|
virtual |
Get UDP port number.