![]() |
MAK RTIspy API Documentation for HLA 1.3
|
The DtAssistantLrcCompInfoMsg defines a wrapper for the RTI Assistant component information message used to send information about an LRC component to its connected RTI Assistant. More...
Inheritance diagram for DtAssistantLrcCompInfoMsg:
Collaboration diagram for DtAssistantLrcCompInfoMsg:Public Member Functions | |
| DtAssistantLrcCompInfoMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructors. | |
| DtAssistantLrcCompInfoMsg (const DtNetAssistantLrcCompInfoMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| virtual | ~DtAssistantLrcCompInfoMsg () |
| Destructor. | |
| virtual DtAssistantMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | setIpAddress (const MAKRti::DtInetAddr &ipOrHost) |
| Set the RTI reliable IP address. | |
| virtual MAKRti::DtInetAddr | ipAddress () const |
| Get the RTI reliable IP address. | |
| virtual void | setBestEffortIpAddress (const MAKRti::DtInetAddr &ipAddr) |
| Set the RTI best effort IP address. | |
| virtual MAKRti::DtInetAddr | bestEffortIpAddress () const |
| Get the RTI best effort IP address. | |
| virtual void | setNetworkInterfaceAddress (const MAKRti::DtInetAddr &addr) |
| Set the address of the network interface being used. | |
| virtual MAKRti::DtInetAddr | networkInterfaceAddress () const |
| Get the address of the network interface being used. | |
| virtual void | setUdpPort (int port) |
| Set the RTI UDP port number. | |
| virtual int | udpPort () const |
| Get the RTI UDP port number. | |
| virtual void | setTcpPort (int port) |
| Set the RTI TCP port number. | |
| virtual int | tcpPort () const |
| Get the RTI TCP port number. | |
| virtual void | setUseRtiexec (bool val) |
| Set whether LRC is using an rtiexec. | |
| virtual bool | useRtiexec () const |
| Get whether LRC is using an rtiexec. | |
| virtual void | setIsNetStatsEnabled (bool val) |
| Set whether LRC has net stats enabled. | |
| virtual bool | isNetStatsEnabled () const |
| Get whether LRC's net stats are enabled. | |
| virtual void | setFullCompliance (bool val) |
| Set whether LRC is fully compliant. | |
| virtual bool | fullCompliance () const |
| Get whether LRC is fully compliant. | |
| virtual void | setHlaVersion (DtHlaVersionId val) |
| Set HLA version. | |
| virtual DtHlaVersionId | hlaVersion () const |
| Get HLA version. | |
| virtual void | setLogFilename (const MAKRti::DtFilename &filename) |
| Set component log filename. | |
| virtual MAKRti::DtFilename | logFilename () const |
| Get component log filename. | |
| virtual void | setNotifyLevel (DtNotifyLevelType level) |
| Set notify level. | |
| virtual DtNotifyLevelType | notifyLevel () const |
| Get notify level. | |
| virtual void | setName (const MAKRti::DtString &name) |
| Set LRC component name. | |
| virtual void | setFederateName (const MAKRti::DtString &fedName) |
| Set Federate Name. | |
| virtual void | setProcessName (const MAKRti::DtString &processName) |
| Set process name. | |
| virtual void | setProcessId (unsigned long processId) |
| Set the process ID. | |
| virtual void | setCommandArgs (const MAKRti::DtString &commandArgs) |
| Set the command arguments. | |
| virtual MAKRti::DtString | name () const |
| Get LRC component name. | |
| virtual MAKRti::DtString | federateName () const |
| Get Federate Name. | |
| virtual MAKRti::DtString | processName () const |
| Get process name. | |
| virtual unsigned long | processId () const |
| Get process ID. | |
| virtual MAKRti::DtString | commandArgs () const |
| Get command arguments. | |
| virtual void | setFederateHandle (unsigned long handle) |
| Set LRC federate handle. | |
| virtual unsigned long | federateHandle () const |
| Get LRC federate handle. | |
| virtual void | setFederationHandle (unsigned long handle) |
| Set LRC's federation handle. | |
| virtual unsigned long | federationHandle () const |
| Get LRC's federation handle. | |
| virtual void | setFederationName (const MAKRti::DtString &name) |
| Set LRC's federation name. | |
| virtual MAKRti::DtString | federationName () const |
| Get LRC's federation name. | |
| virtual void | setLicServer (const MAKRti::DtString &server) |
| Set the license server used by the component. | |
| virtual MAKRti::DtString | licServer () const |
| Get LRC license server. | |
| virtual void | setForwarderPort (int port) |
| Set the forwarder port. | |
| virtual int | forwarderPort () const |
| Get the forwarder port. | |
| virtual void | printData () const |
| Print the data section. | |
Public Member Functions inherited from DtAssistantMsg | |
| virtual | ~DtAssistantMsg () |
| Destructor. | |
| virtual DtNetAssistantMsgHeader * | netHeader () 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 DtAssistantMsg * | create (const DtNetAssistantMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creators. | |
| static DtAssistantMsg * | create (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| static void | addCallback (DtRtiAssistantServer *conn, DtAssistantLrcCompInfoCb cb, void *usr) |
| Adds or removes a callback with the given Assistant server for this message type. | |
| static void | removeCallback (DtRtiAssistantServer *conn, DtAssistantLrcCompInfoCb 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 void | setAddressFamily (MAKRti::DtInetUtils::DtInetAddrFamily fam) |
| Set the IP address family. | |
| virtual MAKRti::DtInetUtils::DtInetAddrFamily | addressFamily () const |
| Get the IP address family. | |
| virtual DtNetAssistantLrcCompInfoMsg * | netAssistantLrcCompInfoMsg () |
| The network representation for the component information. | |
| virtual const DtNetAssistantLrcCompInfoMsg * | netAssistantLrcCompInfoMsg () const |
| virtual DtAssistantMsgKind | internalMsgKind () |
| Returns the kind of a DtAssistantLrcCompInfoMsg message. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual void | setLogFilenameSize (unsigned long size) |
| Set/Get log filename size. | |
| virtual unsigned long | logFilenameSize () const |
| virtual const char * | logFilenamePtr () const |
| Return pointer to filename location in message. | |
| virtual char * | logFilenamePtr () |
| virtual void | setNameSize (unsigned long size) |
| Set/Get component name size. | |
| virtual unsigned long | nameSize () const |
| virtual const char * | namePtr () const |
| Return pointer to component name location in message. | |
| virtual char * | namePtr () |
| virtual void | setFederateNameSize (unsigned long size) |
| Set/Get federate name size. | |
| virtual unsigned long | federateNameSize () const |
| virtual const char * | federateNamePtr () const |
| Return pointer to federate name location in mesage. | |
| virtual char * | federateNamePtr () |
| virtual void | setProcessNameSize (unsigned long size) |
| set/get process name size | |
| virtual unsigned long | processNameSize () const |
| virtual const char * | processNamePtr () const |
| Return pointer to process name location in message. | |
| virtual char * | processNamePtr () |
| virtual void | setCommandArgsSize (unsigned long size) |
| set/get command args size | |
| virtual unsigned long | commandArgsSize () const |
| virtual const char * | commandArgsPtr () const |
| Return pointer to command args location in the message. | |
| virtual char * | commandArgsPtr () |
| virtual void | setLicServerSize (unsigned long size) |
| Set/Get license server size. | |
| virtual unsigned long | licServerSize () const |
| virtual const char * | licServerPtr () const |
| Return pointer to license server location in message. | |
| virtual char * | licServerPtr () |
| virtual void | setFederationNameSize (unsigned long size) |
| Set/Get the federation name size. | |
| virtual unsigned long | federationNameSize () const |
| virtual const char * | federationNamePtr () const |
| Return pointer to the federation name location in message. | |
| virtual char * | federationNamePtr () |
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 DtNetAssistantSrcDestInfo * | srcDestInfoPtr () |
| 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 () |
The DtAssistantLrcCompInfoMsg defines a wrapper for the RTI Assistant component information message used to send information about an LRC component to its connected RTI Assistant.
| DtAssistantLrcCompInfoMsg::DtAssistantLrcCompInfoMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructors.
| DtAssistantLrcCompInfoMsg::DtAssistantLrcCompInfoMsg | ( | const DtNetAssistantLrcCompInfoMsg * | netRep, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
|
virtual |
Destructor.
|
static |
Adds or removes a callback with the given Assistant server for this message type.
|
protectedvirtual |
Get the IP address family.
|
virtual |
Get the RTI best effort IP address.
|
virtual |
Return a copy/empty object of the same type as this.
Implements DtAssistantMsg.
|
virtual |
Get command arguments.
|
protectedvirtual |
Return pointer to command args location in the message.
|
protectedvirtual |
|
protectedvirtual |
|
static |
Creators.
|
static |
|
virtual |
Get LRC federate handle.
|
virtual |
Get Federate Name.
|
protectedvirtual |
Return pointer to federate name location in mesage.
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Get LRC's federation handle.
|
virtual |
Get LRC's federation name.
|
protectedvirtual |
Return pointer to the federation name location in message.
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Get the forwarder port.
|
virtual |
Get whether LRC is fully compliant.
|
virtual |
Get HLA version.
|
protectedvirtual |
Returns the kind of a DtAssistantLrcCompInfoMsg message.
Implements DtAssistantMsg.
|
virtual |
Get the RTI reliable IP address.
|
virtual |
Get whether LRC's net stats are enabled.
|
virtual |
Get LRC license server.
|
protectedvirtual |
Return pointer to license server location in message.
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Get component log filename.
|
protectedvirtual |
Return pointer to filename location in message.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Returns minimum size of a message, including header.
|
virtual |
Get LRC component name.
|
protectedvirtual |
Return pointer to component name location in message.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
The network representation for the component information.
|
protectedvirtual |
|
virtual |
Get the address of the network interface being used.
|
virtual |
Get notify level.
|
virtual |
Print the data section.
Reimplemented from DtAssistantMsg.
|
virtual |
Get process ID.
|
virtual |
Get process name.
|
protectedvirtual |
Return pointer to process name location in message.
|
protectedvirtual |
|
protectedvirtual |
|
static |
|
protectedvirtual |
Set the IP address family.
|
virtual |
Set the RTI best effort IP address.
|
virtual |
Set the command arguments.
|
protectedvirtual |
set/get command args size
|
virtual |
Set LRC federate handle.
|
virtual |
Set Federate Name.
|
protectedvirtual |
Set/Get federate name size.
|
virtual |
Set LRC's federation handle.
|
virtual |
Set LRC's federation name.
|
protectedvirtual |
Set/Get the federation name size.
|
virtual |
Set the forwarder port.
|
virtual |
Set whether LRC is fully compliant.
|
virtual |
Set HLA version.
|
virtual |
Set the RTI reliable IP address.
|
virtual |
Set whether LRC has net stats enabled.
|
virtual |
Set the license server used by the component.
|
protectedvirtual |
Set/Get license server size.
|
virtual |
Set component log filename.
|
protectedvirtual |
Set/Get log filename size.
|
virtual |
Set LRC component name.
|
protectedvirtual |
Set/Get component name size.
|
virtual |
Set the address of the network interface being used.
|
virtual |
Set notify level.
|
virtual |
Set the process ID.
|
virtual |
Set process name.
|
protectedvirtual |
set/get process name size
|
virtual |
Set the RTI TCP port number.
|
virtual |
Set the RTI UDP port number.
|
virtual |
Set whether LRC is using an rtiexec.
|
virtual |
Get the RTI TCP port number.
|
virtual |
Get the RTI UDP port number.
|
virtual |
Get whether LRC is using an rtiexec.