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
DtAssistantRidParamsMsg Class Reference

The DtAssistantRidParamsMsg defines a wrapper for the RTI Assistant RID parameter message used by the Assistant to request RID parameters and by an rtiexec to respond with its RID parameters. More...

+ Inheritance diagram for DtAssistantRidParamsMsg:
+ Collaboration diagram for DtAssistantRidParamsMsg:

Public Member Functions

 DtAssistantRidParamsMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Default / Send constructor. More...
 
 DtAssistantRidParamsMsg (const DtNetAssistantRidParamsMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Recv Constructor (from incoming message) More...
 
virtual ~DtAssistantRidParamsMsg ()
 Destructor. More...
 
virtual DtAssistantMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this. More...
 
virtual int minSize () const
 
virtual void setIsRequest (bool isReq)
 Set whether this is a request message, otherwise its a response msg. More...
 
virtual bool isRequest () const
 Get whether this is a request message, otherwise its a response msg. More...
 
virtual void setFederateHandle (unsigned hdl)
 Set whether this is a request message, otherwise its a response msg. More...
 
virtual unsigned federateHandle () const
 Get whether this is a request message, otherwise its a response msg. More...
 
virtual void setRidFilename (const MAKRti::DtFilename &filename)
 Set RID filename. More...
 
virtual MAKRti::DtFilename ridFilename () const
 Get RID filename. More...
 
virtual void setRidParams (const MAKRti::DtString &ridParams)
 Set RID parameters. More...
 
virtual void getRidParams (MAKRti::DtString &ridParams) const
 Get RID parameters. More...
 
virtual void setFederation (const MAKRti::DtString &federation)
 Set RID filename. More...
 
virtual MAKRti::DtString federation () const
 Get RID filename. More...
 
virtual void printData () const
 Print the data section. More...
 
- Public Member Functions inherited from DtAssistantMsg
virtual ~DtAssistantMsg ()
 Destructor. More...
 
virtual DtNetAssistantMsgHeadernetHeader () 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 DtAssistantUuidsourceUuid () 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 DtAssistantMsgcreate (const DtNetAssistantMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creator for receiving. More...
 
static DtAssistantMsgcreate (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creator for sending. More...
 
Callback management
static void addCallback (DtRtiAssistantClient *conn, DtAssistantRidParamsCb cb, void *usr)
 
static void removeCallback (DtRtiAssistantClient *conn, DtAssistantRidParamsCb cb, void *usr)
 
static void addCallback (DtRtiAssistantServer *conn, DtAssistantRidParamsCb cb, void *usr)
 
static void removeCallback (DtRtiAssistantServer *conn, DtAssistantRidParamsCb cb, void *usr)
 
static void addCallback (DtRtiAssistantPeer *conn, DtAssistantRidParamsCb cb, void *usr)
 
static void removeCallback (DtRtiAssistantPeer *conn, DtAssistantRidParamsCb 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
DtNetAssistantRidParamsMsg
netAssistantRidParamsMsg ()
 The network representation. More...
 
virtual const
DtNetAssistantRidParamsMsg
netAssistantRidParamsMsg () const
 
virtual DtAssistantMsgKind internalMsgKind ()
 Returns the kind of this message. More...
 
virtual void setRidFilenameSize (unsigned long size)
 Set/Get RID filename size. More...
 
virtual unsigned long ridFilenameSize () const
 
virtual const char * ridFilenamePtr () const
 Return pointer to RID filename name location in message. More...
 
virtual char * ridFilenamePtr ()
 
virtual void setRidParametersSize (unsigned long size)
 Set/Get RID parameters size. More...
 
virtual unsigned long ridParametersSize () const
 
virtual const char * ridParametersPtr () const
 Return pointer to RID parameters location in message. More...
 
virtual char * ridParametersPtr ()
 
virtual void setFederationSize (unsigned long size)
 Set/Get federation name size. More...
 
virtual unsigned long federationSize () const
 
virtual const char * federationPtr () const
 Return pointer to RID parameters location in message. More...
 
virtual char * federationPtr ()
 
- 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 DtNetAssistantSrcDestInfosrcDestInfoPtr ()
 
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 ()
 

Detailed Description

The DtAssistantRidParamsMsg defines a wrapper for the RTI Assistant RID parameter message used by the Assistant to request RID parameters and by an rtiexec to respond with its RID parameters.

Constructor & Destructor Documentation

DtAssistantRidParamsMsg::DtAssistantRidParamsMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Default / Send constructor.

DtAssistantRidParamsMsg::DtAssistantRidParamsMsg ( const DtNetAssistantRidParamsMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Recv Constructor (from incoming message)

virtual DtAssistantRidParamsMsg::~DtAssistantRidParamsMsg ( )
virtual

Destructor.

Member Function Documentation

static void DtAssistantRidParamsMsg::addCallback ( DtRtiAssistantClient conn,
DtAssistantRidParamsCb  cb,
void *  usr 
)
static
static void DtAssistantRidParamsMsg::addCallback ( DtRtiAssistantServer conn,
DtAssistantRidParamsCb  cb,
void *  usr 
)
static
static void DtAssistantRidParamsMsg::addCallback ( DtRtiAssistantPeer conn,
DtAssistantRidParamsCb  cb,
void *  usr 
)
static
virtual DtAssistantMsg* DtAssistantRidParamsMsg::clone ( bool  copy = true) const
virtual

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

Implements DtAssistantMsg.

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

Creator for receiving.

static DtAssistantMsg* DtAssistantRidParamsMsg::create ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)
static

Creator for sending.

virtual unsigned DtAssistantRidParamsMsg::federateHandle ( ) const
virtual

Get whether this is a request message, otherwise its a response msg.

virtual MAKRti::DtString DtAssistantRidParamsMsg::federation ( ) const
virtual

Get RID filename.

virtual const char* DtAssistantRidParamsMsg::federationPtr ( ) const
protectedvirtual

Return pointer to RID parameters location in message.

virtual char* DtAssistantRidParamsMsg::federationPtr ( )
protectedvirtual
virtual unsigned long DtAssistantRidParamsMsg::federationSize ( ) const
protectedvirtual
virtual void DtAssistantRidParamsMsg::getRidParams ( MAKRti::DtString &  ridParams) const
virtual

Get RID parameters.

virtual DtAssistantMsgKind DtAssistantRidParamsMsg::internalMsgKind ( )
protectedvirtual

Returns the kind of this message.

Implements DtAssistantMsg.

virtual bool DtAssistantRidParamsMsg::isRequest ( ) const
virtual

Get whether this is a request message, otherwise its a response msg.

virtual int DtAssistantRidParamsMsg::minSize ( ) const
virtual
virtual DtNetAssistantRidParamsMsg* DtAssistantRidParamsMsg::netAssistantRidParamsMsg ( )
protectedvirtual

The network representation.

virtual const DtNetAssistantRidParamsMsg* DtAssistantRidParamsMsg::netAssistantRidParamsMsg ( ) const
protectedvirtual
virtual void DtAssistantRidParamsMsg::printData ( ) const
virtual

Print the data section.

Reimplemented from DtAssistantMsg.

static void DtAssistantRidParamsMsg::removeCallback ( DtRtiAssistantClient conn,
DtAssistantRidParamsCb  cb,
void *  usr 
)
static
static void DtAssistantRidParamsMsg::removeCallback ( DtRtiAssistantServer conn,
DtAssistantRidParamsCb  cb,
void *  usr 
)
static
static void DtAssistantRidParamsMsg::removeCallback ( DtRtiAssistantPeer conn,
DtAssistantRidParamsCb  cb,
void *  usr 
)
static
virtual MAKRti::DtFilename DtAssistantRidParamsMsg::ridFilename ( ) const
virtual

Get RID filename.

virtual const char* DtAssistantRidParamsMsg::ridFilenamePtr ( ) const
protectedvirtual

Return pointer to RID filename name location in message.

virtual char* DtAssistantRidParamsMsg::ridFilenamePtr ( )
protectedvirtual
virtual unsigned long DtAssistantRidParamsMsg::ridFilenameSize ( ) const
protectedvirtual
virtual const char* DtAssistantRidParamsMsg::ridParametersPtr ( ) const
protectedvirtual

Return pointer to RID parameters location in message.

virtual char* DtAssistantRidParamsMsg::ridParametersPtr ( )
protectedvirtual
virtual unsigned long DtAssistantRidParamsMsg::ridParametersSize ( ) const
protectedvirtual
virtual void DtAssistantRidParamsMsg::setFederateHandle ( unsigned  hdl)
virtual

Set whether this is a request message, otherwise its a response msg.

virtual void DtAssistantRidParamsMsg::setFederation ( const MAKRti::DtString &  federation)
virtual

Set RID filename.

virtual void DtAssistantRidParamsMsg::setFederationSize ( unsigned long  size)
protectedvirtual

Set/Get federation name size.

virtual void DtAssistantRidParamsMsg::setIsRequest ( bool  isReq)
virtual

Set whether this is a request message, otherwise its a response msg.

virtual void DtAssistantRidParamsMsg::setRidFilename ( const MAKRti::DtFilename &  filename)
virtual

Set RID filename.

virtual void DtAssistantRidParamsMsg::setRidFilenameSize ( unsigned long  size)
protectedvirtual

Set/Get RID filename size.

virtual void DtAssistantRidParamsMsg::setRidParametersSize ( unsigned long  size)
protectedvirtual

Set/Get RID parameters size.

virtual void DtAssistantRidParamsMsg::setRidParams ( const MAKRti::DtString &  ridParams)
virtual

Set RID parameters.


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

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)