![]() |
MAK RTIspy API Documentation for HLA 1.3
|
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:Public Member Functions | |
| DtAssistantExecObserveRspMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructors. | |
| DtAssistantExecObserveRspMsg (const DtNetAssistantExecObserveRspMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| virtual | ~DtAssistantExecObserveRspMsg () |
| Destructor. | |
| virtual DtAssistantMsg * | clone (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 DtAssistantMsg * | create (const DtNetAssistantMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creators. | |
| static DtAssistantMsg * | create (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. | |
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.
| DtAssistantExecObserveRspMsg::DtAssistantExecObserveRspMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructors.
References DtAssistantMsg::initAssistantMsg(), internalMsgKind(), and minSize().
| DtAssistantExecObserveRspMsg::DtAssistantExecObserveRspMsg | ( | const DtNetAssistantExecObserveRspMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Destructor.
| void DtAssistantExecObserveRspMsg::addCallback | ( | DtRtiAssistantServer * | conn, |
| DtAssistantExecObserveRspCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Adds or removes a callback with the given Assistant server for this message type.
References DtRtiAssistantServer::addMsgCallback(), and DtAssistantExecObserveRspMsgKind.
Referenced by DtAssistantFederationsInfoMgr::DtAssistantFederationsInfoMgr(), and DtAssistantNetworkCompViewMgr::DtAssistantNetworkCompViewMgr().
| void DtAssistantExecObserveRspMsg::addCallback | ( | DtRtiAssistantPeer * | conn, |
| DtAssistantExecObserveRspCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Adds or removes a callback with the given Assistant peer for this message type.
References DtRtiAssistantPeer::addMsgCallback(), and DtAssistantExecObserveRspMsgKind.
| DtAssistantMsg * DtAssistantExecObserveRspMsg::clone | ( | bool | copy = true | ) | const [virtual] |
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] |
References DtAssistantExecObserveRspMsg().
| DtAssistantMsgKind DtAssistantExecObserveRspMsg::internalMsgKind | ( | ) | [protected, virtual] |
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().
| DtNetAssistantExecObserveRspMsg * DtAssistantExecObserveRspMsg::netAssistantExecObserveRspMsg | ( | ) | [protected, virtual] |
The network representation for the message.
Referenced by clone(), notifyLevel(), setNotifyLevel(), setWebServerIp(), setWebServerPort(), webServerIp(), and webServerPort().
| const DtNetAssistantExecObserveRspMsg * DtAssistantExecObserveRspMsg::netAssistantExecObserveRspMsg | ( | ) | const [protected, virtual] |
| 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::removeCallback | ( | DtRtiAssistantServer * | conn, |
| DtAssistantExecObserveRspCb | cb, | ||
| void * | usr | ||
| ) | [static] |
| void DtAssistantExecObserveRspMsg::removeCallback | ( | DtRtiAssistantPeer * | conn, |
| DtAssistantExecObserveRspCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtAssistantExecObserveRspMsgKind, and DtRtiAssistantPeer::removeMsgCallback().
| void DtAssistantExecObserveRspMsg::setNotifyLevel | ( | DtNotifyLevelType | level | ) | [virtual] |
Set notify level for this rtiexec.
References netAssistantExecObserveRspMsg(), and DtNetAssistantExecObserveRspMsg::notifyLevel.
Referenced by DtRtiAssistantPeer::sendObserveRtiexecRspMsg().
| void DtAssistantExecObserveRspMsg::setWebServerIp | ( | const MAKRti::DtInetAddr & | ip | ) | [virtual] |
Set the web server host IP for this rtiexec.
References netAssistantExecObserveRspMsg(), and DtNetAssistantExecObserveRspMsg::webServerHost.
Referenced by DtRtiAssistantPeer::sendObserveRtiexecRspMsg().
| void DtAssistantExecObserveRspMsg::setWebServerPort | ( | unsigned int | port | ) | [virtual] |
Set the web server port for this rtiexec.
References netAssistantExecObserveRspMsg(), and DtNetAssistantExecObserveRspMsg::webServerPort.
Referenced by DtRtiAssistantPeer::sendObserveRtiexecRspMsg().
| 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] |
Get the web server port for this rtiexec.
References netAssistantExecObserveRspMsg(), and DtNetAssistantExecObserveRspMsg::webServerPort.
Referenced by printData(), and DtAssistantFederationsInfoMgr::processExecObserveRspMsg().