MAK RTIspy API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtAssistantExecObserveRspMsg Class Reference

The DtAssistantExecObserveRspMsg defines a wrapper for the RTI Assistant rtiexec observe response message sent to an assistant from an rtiexec to inform an observing Assistant of necessary configuration info. More...

+ Inheritance diagram for DtAssistantExecObserveRspMsg:
+ Collaboration diagram for DtAssistantExecObserveRspMsg:

List of all members.

Public Member Functions

 DtAssistantExecObserveRspMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructors.
 DtAssistantExecObserveRspMsg (const DtNetAssistantExecObserveRspMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
virtual ~DtAssistantExecObserveRspMsg ()
 Destructor.
virtual DtAssistantMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual MAKRti::DtInetAddr webServerIp () const
 Get the web server host IP for this rtiexec.
virtual void setWebServerIp (const MAKRti::DtInetAddr &ip)
 Set the web server host IP for this rtiexec.
virtual unsigned int webServerPort () const
 Get the web server port for this rtiexec.
virtual void setWebServerPort (unsigned int port)
 Set the web server port for this rtiexec.
virtual void setNotifyLevel (DtNotifyLevelType level)
 Set notify level for this rtiexec.
virtual DtNotifyLevelType notifyLevel () const
 Get notify level for this rtiexec.
virtual void printData () const
 Print the data section.

Static Public Member Functions

static DtAssistantMsgcreate (const DtNetAssistantMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creators.
static DtAssistantMsgcreate (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
static void addCallback (DtRtiAssistantServer *conn, DtAssistantExecObserveRspCb cb, void *usr)
 Adds or removes a callback with the given Assistant server for this message type.
static void removeCallback (DtRtiAssistantServer *conn, DtAssistantExecObserveRspCb cb, void *usr)
static void addCallback (DtRtiAssistantPeer *conn, DtAssistantExecObserveRspCb cb, void *usr)
 Adds or removes a callback with the given Assistant peer for this message type.
static void removeCallback (DtRtiAssistantPeer *conn, DtAssistantExecObserveRspCb cb, void *usr)

Protected Member Functions

virtual
DtNetAssistantExecObserveRspMsg
netAssistantExecObserveRspMsg ()
 The network representation for the message.
virtual const
DtNetAssistantExecObserveRspMsg
netAssistantExecObserveRspMsg () const
virtual DtAssistantMsgKind internalMsgKind ()
 Returns the kind of a DtAssistantExecObserveRspMsg message.
virtual int minSize () const
 Returns minimum size of a message, including header.

Detailed Description

The DtAssistantExecObserveRspMsg defines a wrapper for the RTI Assistant rtiexec observe response message sent to an assistant from an rtiexec to inform an observing Assistant of necessary configuration info.


Constructor & Destructor Documentation

DtAssistantExecObserveRspMsg::DtAssistantExecObserveRspMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructors.

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

Referenced by clone(), and create().

DtAssistantExecObserveRspMsg::DtAssistantExecObserveRspMsg ( const DtNetAssistantExecObserveRspMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

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

References DtRtiAssistantPeer::addMsgCallback(), and DtAssistantExecObserveRspMsgKind.

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

Implements DtAssistantMsg.

References DtAssistantExecObserveRspMsg(), and netAssistantExecObserveRspMsg().

DtAssistantMsg * DtAssistantExecObserveRspMsg::create ( const DtNetAssistantMsgHeader initial,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
) [static]

Creators.

References DtAssistantExecObserveRspMsg().

DtAssistantMsg * DtAssistantExecObserveRspMsg::create ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER) [static]

Returns the kind of a DtAssistantExecObserveRspMsg message.

Implements DtAssistantMsg.

References DtAssistantExecObserveRspMsgKind.

Referenced by DtAssistantExecObserveRspMsg().

int DtAssistantExecObserveRspMsg::minSize ( ) const [protected, virtual]

Returns minimum size of a message, including header.

Referenced by DtAssistantExecObserveRspMsg().

The network representation for the message.

Referenced by clone(), notifyLevel(), setNotifyLevel(), setWebServerIp(), setWebServerPort(), webServerIp(), and webServerPort().

DtNotifyLevelType DtAssistantExecObserveRspMsg::notifyLevel ( ) const [virtual]

Get notify level for this rtiexec.

References netAssistantExecObserveRspMsg().

Referenced by printData(), and DtAssistantNetworkCompViewMgr::processExecObserveRspMsg().

void DtAssistantExecObserveRspMsg::printData ( ) const [virtual]

Print the data section.

Reimplemented from DtAssistantMsg.

References notifyLevel(), webServerIp(), and webServerPort().

void DtAssistantExecObserveRspMsg::setNotifyLevel ( DtNotifyLevelType  level) [virtual]
void DtAssistantExecObserveRspMsg::setWebServerIp ( const MAKRti::DtInetAddr &  ip) [virtual]
void DtAssistantExecObserveRspMsg::setWebServerPort ( unsigned int  port) [virtual]
DtInetAddr DtAssistantExecObserveRspMsg::webServerIp ( ) const [virtual]

Get the web server host IP for this rtiexec.

References netAssistantExecObserveRspMsg().

Referenced by printData(), and DtAssistantFederationsInfoMgr::processExecObserveRspMsg().

unsigned int DtAssistantExecObserveRspMsg::webServerPort ( ) const [virtual]

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

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)