![]() |
MAK RTIspy API Documentation for HLA 1516
|
The DtAssistantNtfyLvlUpdateMsg defines a wrapper for the RTI Assistant notify level update message used by the Assistant to command an RTI component to update its notify level. More...
Inheritance diagram for DtAssistantNtfyLvlUpdateMsg:
Collaboration diagram for DtAssistantNtfyLvlUpdateMsg:Public Member Functions | |
| DtAssistantNtfyLvlUpdateMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructors. | |
| DtAssistantNtfyLvlUpdateMsg (const DtNetAssistantNtfyLvlUpdateMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtAssistantNtfyLvlUpdateMsg (DtNotifyLevelType notifyLevel, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| virtual | ~DtAssistantNtfyLvlUpdateMsg () |
| Destructor. | |
| virtual DtAssistantMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | setNotifyLevel (DtNotifyLevelType level) |
| Set notify level. | |
| virtual DtNotifyLevelType | notifyLevel () const |
| Get notify level. | |
| 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, DtAssistantNtfyLvlUpdateCb cb, void *usr) |
| Adds or removes a callback with the given Assistant client for this message type. | |
| static void | removeCallback (DtRtiAssistantClient *conn, DtAssistantNtfyLvlUpdateCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetAssistantNtfyLvlUpdateMsg * | netAssistantNtfyLvlUpdateMsg () |
| The network representation for the message. | |
| virtual const DtNetAssistantNtfyLvlUpdateMsg * | netAssistantNtfyLvlUpdateMsg () const |
| virtual DtAssistantMsgKind | internalMsgKind () |
| Returns the kind of a DtAssistantNtfyLvlUpdateMsg message. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
The DtAssistantNtfyLvlUpdateMsg defines a wrapper for the RTI Assistant notify level update message used by the Assistant to command an RTI component to update its notify level.
| DtAssistantNtfyLvlUpdateMsg::DtAssistantNtfyLvlUpdateMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructors.
References DtAssistantMsg::initAssistantMsg(), internalMsgKind(), and minSize().
| DtAssistantNtfyLvlUpdateMsg::DtAssistantNtfyLvlUpdateMsg | ( | const DtNetAssistantNtfyLvlUpdateMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtNetAssistantNtfyLvlUpdateMsg::header, and DtAssistantMsg::initAssistantMsg().
| DtAssistantNtfyLvlUpdateMsg::DtAssistantNtfyLvlUpdateMsg | ( | DtNotifyLevelType | notifyLevel, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtAssistantMsg::initAssistantMsg(), internalMsgKind(), minSize(), and setNotifyLevel().
Destructor.
| void DtAssistantNtfyLvlUpdateMsg::addCallback | ( | DtRtiAssistantClient * | conn, |
| DtAssistantNtfyLvlUpdateCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Adds or removes a callback with the given Assistant client for this message type.
References DtRtiAssistantClient::addMsgCallback(), and DtAssistantNtfyLvlUpdateMsgKind.
Referenced by DtRtiAssistantClient::DtRtiAssistantClient(), and DtRtiexecObserverForAssistant::DtRtiexecObserverForAssistant().
| DtAssistantMsg * DtAssistantNtfyLvlUpdateMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtAssistantMsg.
References DtAssistantNtfyLvlUpdateMsg(), and netAssistantNtfyLvlUpdateMsg().
| DtAssistantMsg * DtAssistantNtfyLvlUpdateMsg::create | ( | const DtNetAssistantMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creators.
References DtAssistantNtfyLvlUpdateMsg().
| DtAssistantMsg * DtAssistantNtfyLvlUpdateMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
References DtAssistantNtfyLvlUpdateMsg().
| DtAssistantMsgKind DtAssistantNtfyLvlUpdateMsg::internalMsgKind | ( | ) | [protected, virtual] |
Returns the kind of a DtAssistantNtfyLvlUpdateMsg message.
Implements DtAssistantMsg.
References DtAssistantNtfyLvlUpdateMsgKind.
Referenced by DtAssistantNtfyLvlUpdateMsg().
| int DtAssistantNtfyLvlUpdateMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtAssistantNtfyLvlUpdateMsg().
| DtNetAssistantNtfyLvlUpdateMsg * DtAssistantNtfyLvlUpdateMsg::netAssistantNtfyLvlUpdateMsg | ( | ) | [protected, virtual] |
The network representation for the message.
Referenced by clone(), notifyLevel(), and setNotifyLevel().
| const DtNetAssistantNtfyLvlUpdateMsg * DtAssistantNtfyLvlUpdateMsg::netAssistantNtfyLvlUpdateMsg | ( | ) | const [protected, virtual] |
| DtNotifyLevelType DtAssistantNtfyLvlUpdateMsg::notifyLevel | ( | ) | const [virtual] |
Get notify level.
References netAssistantNtfyLvlUpdateMsg().
Referenced by printData(), DtRtiexecObserverForAssistant::processNotifyLevelChangeMsg(), and DtRtiAssistantClient::processNtfyLvlUpdateMsg().
| void DtAssistantNtfyLvlUpdateMsg::printData | ( | ) | const [virtual] |
| void DtAssistantNtfyLvlUpdateMsg::removeCallback | ( | DtRtiAssistantClient * | conn, |
| DtAssistantNtfyLvlUpdateCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtAssistantNtfyLvlUpdateMsgKind, and DtRtiAssistantClient::removeMsgCallback().
Referenced by DtRtiexecObserverForAssistant::~DtRtiexecObserverForAssistant().
| void DtAssistantNtfyLvlUpdateMsg::setNotifyLevel | ( | DtNotifyLevelType | level | ) | [virtual] |
Set notify level.
References netAssistantNtfyLvlUpdateMsg(), and DtNetAssistantNtfyLvlUpdateMsg::notifyLevel.
Referenced by DtAssistantNtfyLvlUpdateMsg(), and DtRtiAssistantServer::sendNtfyLvlUpdateMsg().