![]() |
MAK RTIspy API Documentation for HLA 1516
|
The DtAssistantLogRequestMsg defines a wrapper for the RTI Assistant message used by the Assistant to request a full log from an rtiexec. More...
Inheritance diagram for DtAssistantLogRequestMsg:
Collaboration diagram for DtAssistantLogRequestMsg:Public Member Functions | |
| DtAssistantLogRequestMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructors. | |
| DtAssistantLogRequestMsg (const DtNetAssistantLogRequestMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| virtual | ~DtAssistantLogRequestMsg () |
| Destructor. | |
| virtual DtAssistantMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual unsigned | maxLogSize () const |
| Get the maximum size for the log response message. | |
| virtual void | setMaxLogSize (unsigned size) |
| Set the maximum size for the log response message. | |
| 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 (DtRtiAssistantClient *conn, DtAssistantLogRequestCb cb, void *usr) |
| Adds or removes a callback with the given Assistant client for this message type. | |
| static void | removeCallback (DtRtiAssistantClient *conn, DtAssistantLogRequestCb cb, void *usr) |
| static void | addCallback (DtRtiAssistantPeer *conn, DtAssistantLogRequestCb cb, void *usr) |
| Adds or removes a callback with the given Assistant peer for this message type. | |
| static void | removeCallback (DtRtiAssistantPeer *conn, DtAssistantLogRequestCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetAssistantLogRequestMsg * | netAssistantLogRequestMsg () |
| The network representation for the message. | |
| virtual const DtNetAssistantLogRequestMsg * | netAssistantLogRequestMsg () const |
| virtual DtAssistantMsgKind | internalMsgKind () |
| Returns the kind of a DtAssistantLogRequestMsg message. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
The DtAssistantLogRequestMsg defines a wrapper for the RTI Assistant message used by the Assistant to request a full log from an rtiexec.
| DtAssistantLogRequestMsg::DtAssistantLogRequestMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructors.
References DtAssistantMsg::initAssistantMsg(), internalMsgKind(), and minSize().
| DtAssistantLogRequestMsg::DtAssistantLogRequestMsg | ( | const DtNetAssistantLogRequestMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtNetAssistantLogRequestMsg::header, and DtAssistantMsg::initAssistantMsg().
| DtAssistantLogRequestMsg::~DtAssistantLogRequestMsg | ( | ) | [virtual] |
Destructor.
| void DtAssistantLogRequestMsg::addCallback | ( | DtRtiAssistantClient * | conn, |
| DtAssistantLogRequestCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Adds or removes a callback with the given Assistant client for this message type.
References DtRtiAssistantClient::addMsgCallback(), and DtAssistantLogRequestMsgKind.
Referenced by DtAssistantFederationsInfoMgr::DtAssistantFederationsInfoMgr(), and DtRtiexecObserverForAssistant::DtRtiexecObserverForAssistant().
| void DtAssistantLogRequestMsg::addCallback | ( | DtRtiAssistantPeer * | conn, |
| DtAssistantLogRequestCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Adds or removes a callback with the given Assistant peer for this message type.
References DtRtiAssistantPeer::addMsgCallback(), and DtAssistantLogRequestMsgKind.
| DtAssistantMsg * DtAssistantLogRequestMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtAssistantMsg.
References DtAssistantLogRequestMsg(), and netAssistantLogRequestMsg().
| DtAssistantMsg * DtAssistantLogRequestMsg::create | ( | const DtNetAssistantMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creators.
References DtAssistantLogRequestMsg().
| DtAssistantMsg * DtAssistantLogRequestMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
References DtAssistantLogRequestMsg().
| DtAssistantMsgKind DtAssistantLogRequestMsg::internalMsgKind | ( | ) | [protected, virtual] |
Returns the kind of a DtAssistantLogRequestMsg message.
Implements DtAssistantMsg.
References DtAssistantLogRequestMsgKind.
Referenced by DtAssistantLogRequestMsg().
| unsigned DtAssistantLogRequestMsg::maxLogSize | ( | ) | const [virtual] |
Get the maximum size for the log response message.
References DtNetAssistantLogRequestMsg::maxLogSize, and netAssistantLogRequestMsg().
Referenced by DtRtiexecObserverForAssistant::processLogRequestMsg().
| int DtAssistantLogRequestMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtAssistantLogRequestMsg().
| DtNetAssistantLogRequestMsg * DtAssistantLogRequestMsg::netAssistantLogRequestMsg | ( | ) | [protected, virtual] |
The network representation for the message.
Referenced by clone(), maxLogSize(), and setMaxLogSize().
| const DtNetAssistantLogRequestMsg * DtAssistantLogRequestMsg::netAssistantLogRequestMsg | ( | ) | const [protected, virtual] |
| void DtAssistantLogRequestMsg::printData | ( | ) | const [virtual] |
Print the data section.
Reimplemented from DtAssistantMsg.
| void DtAssistantLogRequestMsg::removeCallback | ( | DtRtiAssistantClient * | conn, |
| DtAssistantLogRequestCb | cb, | ||
| void * | usr | ||
| ) | [static] |
| void DtAssistantLogRequestMsg::removeCallback | ( | DtRtiAssistantPeer * | conn, |
| DtAssistantLogRequestCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtAssistantLogRequestMsgKind, and DtRtiAssistantPeer::removeMsgCallback().
| void DtAssistantLogRequestMsg::setMaxLogSize | ( | unsigned | size | ) | [virtual] |
Set the maximum size for the log response message.
References DtNetAssistantLogRequestMsg::maxLogSize, and netAssistantLogRequestMsg().
Referenced by DtRtiAssistantServer::sendLogRequestMsg(), and DtRtiAssistantPeer::sendLogRequestMsg().