![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Base class for assistant Messages. More...
Inheritance diagram for DtAssistantMsg:
Collaboration diagram for DtAssistantMsg:Public Member Functions | |
| virtual | ~DtAssistantMsg () |
| Destructor. | |
| virtual DtAssistantMsg * | clone (bool copy=true) const =0 |
| Return a copy/empty object of the same type as this. | |
| virtual DtNetAssistantMsgHeader * | netHeader () const |
| Get header of network representation. | |
| virtual int | version () const |
| Return the message version. | |
| virtual bool | isValidVersion () const |
| Returns bool: message version is valid? | |
| virtual DtAssistantMsgKind | msgKind () const |
| Get the message kind. | |
| virtual void | print () const |
| Printing functions. | |
| virtual void | printHeader () const |
| virtual void | printData () const |
| virtual bool | isOk () const |
| Message is good? | |
| bool | isAssistantToAssistantMessage () const |
| Returns whether or not this message contains source/destination information included in messages sent between assistants. | |
| virtual MAKRti::DtInetAddr | sourceAddr () const |
| Get/Set the IP address of the source of this message. | |
| virtual void | setSourceAddr (const MAKRti::DtInetAddr &addr) |
| virtual int | sourceId () const |
| Get/Set the ID of the source of this message. | |
| virtual void | setSourceId (int id) |
| virtual MAKRti::DtString | sourceHost () const |
| Get/Set the host name of the source of this message. | |
| virtual void | setSourceHost (const MAKRti::DtString &addr) |
| virtual MAKRti::DtInetAddr | destAddr () const |
| Get/Set the IP address of the destination of this message. | |
| virtual void | setDestAddr (const MAKRti::DtInetAddr &addr) |
| virtual int | destId () const |
| Get/Set the ID of the destination of this message. | |
| virtual void | setDestId (int id) |
| virtual int | compId () const |
| Get/Set the related component's connection ID. | |
| virtual void | setCompId (int compId) |
Static Public Member Functions | |
| static const char * | kindToString (DtAssistantMsgKind kind) |
| Returns the name of the message, by kind enumeration. | |
Protected Member Functions | |
| DtAssistantMsg () | |
| Constructor. | |
| virtual DtAssistantMsgKind | internalMsgKind ()=0 |
| virtual void | sizeChanged (int size) |
| Called whenever size is changed using changeSize, or insert/deleteBytes. | |
| void | initAssistantMsg (int size, DtAssistantMsgKind msgKindVal, DtBufferPtr buffer) |
| Called by ctor, so not virtual. | |
| 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. | |
| virtual void | adjustBytes (void *address, int numBytes) |
| Adjust the numBytes starting at the indicated address. | |
| virtual void | resizeForSrcDestInfo () |
| Allocates memory at the end of the message for source/destination information needed when sending messages between assistants. | |
| virtual const DtNetAssistantSrcDestInfo * | srcDestInfoPtr () const |
| Return pointer to source/destination information in the message. | |
| virtual DtNetAssistantSrcDestInfo * | srcDestInfoPtr () |
| virtual void | setSourceHostSize (unsigned long size) |
| Set/Get source host name text size. | |
| virtual unsigned long | sourceHostSize () const |
| virtual const char * | sourceHostPtr () const |
| Return pointer to source host name in message. | |
| virtual char * | sourceHostPtr () |
Base class for assistant Messages.
|
virtual |
Destructor.
|
protected |
Constructor.
|
inlineprotectedvirtual |
Adjust numBytes bytes at the indicated offset in the net rep.
Uses insertBytes or deleteBytes based on sign of numBytes
References rti1516e::insertBytes().
Referenced by DtAssistantLatencyReportMsg::resize().
|
inlineprotectedvirtual |
Adjust the numBytes starting at the indicated address.
Assumes that address falls within the net rep. Uses insertBytes or deleteBytes based on sign of numBytes
References rti1516e::insertBytes().
|
pure virtual |
Return a copy/empty object of the same type as this.
NOTE: The transport type is not carried in the network representation used to make clones; therefore, it must be set after the clone is made
Implemented in DtAssistantCommandMsg, DtAssistantTestMgrStatusMsg, DtAssistantShowDialogMsg, DtAssistantLatencyReportMsg, DtAssistantChangeLatencyTestModeMsg, DtAssistantLrcCompInfoMsg, DtAssistantShutdownMsg, DtAssistantStateObserveMsg, DtAssistantRtiexecCompInfoMsg, DtAssistantShmCompInfoMsg, DtAssistantWwwCompInfoMsg, DtAssistantFederateStateMsg, DtAssistantStartRtiexecMsg, DtAssistantLogMsg, DtAssistantNotifyMsg, DtAssistantPopupMsg, DtAssistantRtiForwarderCompInfoMsg, DtAssistantAwaitingForwardersMsg, DtAssistantConnMsg, DtAssistantConnQueryMsg, DtAssistantLightweightInfoMsg, DtAssistantExecStateMsg, DtAssistantInfoMsg, DtAssistantLicQueryMsg, DtAssistantNtfyLvlUpdateMsg, DtAssistantQueryMsg, DtAssistantRidParamsMsg, DtAssistantSyncPtUpdateMsg, DtAssistantDeleteFederateMsg, DtAssistantDeleteFederationMsg, DtAssistantExecObserveRspMsg, DtAssistantExitMsg, DtAssistantTimeStateMsg, DtAssistantFederationStateMsg, DtAssistantForwarderStateMsg, DtAssistantLicServerInfoMsg, DtAssistantLogEnableMsg, DtAssistantLogRequestMsg, DtAssistantNetworkTestEnableMsg, DtAssistantNotifyObserveMsg, DtAssistantSignalTickedMsg, DtAssistantRemovalMsg, and DtAssistantFederateSignalTickIntervalMsg.
Referenced by DtAssistantMsgQueue::addMsg(), DtRtiAssistantPeer::forwardMsg(), DtRtiAssistantPeer::forwardNetStatsUpdate(), DtRtiAssistantClient::processRespMsg(), DtAssistantFomViewMgr::processServerNetStatsAttrParamStringUpdateMsg(), DtAssistantFomViewMgr::processServerNetStatsFomAttrParamUpdateMsg(), and DtAssistantFomViewMgr::processServerNetStatsFomTreeUpdateMsg().
|
virtual |
Get/Set the related component's connection ID.
Assistant-to-Assistant messages only.
References DtNetAssistantSrcDestInfo::compId, and srcDestInfoPtr().
Referenced by DtRtiAssistantServer::forwardMsg(), DtAssistantNetStatsObservationMgr::forwardNetStatsUpdateToRemoteAstnt(), DtAssistantLatencyTestMgr::getRtiexecConn(), DtAssistantFederationStateMsg::getUpdatedFederateStates(), DtAssistantFomViewMgr::handleNetStatsFomAttrParamUpdateMsg(), DtAssistantFederationsViewMgr::processExecObserveRspMsg(), DtAssistantFederationsInfoMgr::processExecObserveRspMsg(), DtAssistantNetworkCompInfoMgr::processForwarderObserveMsg(), DtAssistantNetworkCompInfoMgr::processForwarderStateMsgForConnection(), DtAssistantFederateViewMgr::processNetStatsObserveReqMsg(), DtAssistantFederateViewMgr::processNetStatsObserveRspMsg(), DtAssistantFederationsInfoMgr::processObserveMsg(), DtAssistantFomViewMgr::processPeerNetStatsAttrParamStringUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsFedAmbUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsFomAttrParamUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsFomTreeUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsInitStateRequestMsg(), DtAssistantFederateViewMgr::processPeerNetStatsInteractionsUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsMsgUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsObjectsUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsObserveReqMsg(), DtAssistantFomViewMgr::processPeerNetStatsObserveRspMsg(), DtAssistantFederateViewMgr::processPeerNetStatsRtiAmbUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsStringReqMsg(), DtAssistantFederateViewMgr::processPeerNetStatsStringUpdateMsg(), DtAssistantFederationsInfoMgr::processRemoteRtiexecPopupMsg(), DtAssistantFederationsViewMgr::processRidParamMsg(), DtAssistantFederationsViewMgr::processRtiexecNotifyMsg(), DtAssistantFomViewMgr::processServerNetStatsAttrParamStringUpdateMsg(), DtAssistantFederateViewMgr::processServerNetStatsFedAmbUpdateMsg(), DtAssistantFomViewMgr::processServerNetStatsFomAttrParamUpdateMsg(), DtAssistantFomViewMgr::processServerNetStatsFomTreeUpdateMsg(), DtAssistantFederateViewMgr::processServerNetStatsInteractionsUpdateMsg(), DtAssistantFederateViewMgr::processServerNetStatsMsgUpdateMsg(), DtAssistantFederateViewMgr::processServerNetStatsObjectsUpdateMsg(), DtAssistantFederateViewMgr::processServerNetStatsRtiAmbUpdateMsg(), DtAssistantFederateViewMgr::processServerNetStatsStringUpdateMsg(), DtAssistantFederationsInfoMgr::processSyncPtStateMsg(), DtAssistantLatencyTestMgr::processTestCommand(), DtRtiAssistantClient::sendConnectMsg(), DtAssistantFederateStateMsg::setAssistantCompId(), and setCompId().
|
virtual |
Get/Set the IP address of the destination of this message.
Assistant-to-Assistant messages only.
References DtNetAssistantSrcDestInfo::destAddr, DtNetAssistantSrcDestInfo::inetAddrFamily, and srcDestInfoPtr().
Referenced by DtRtiAssistantPeer::needsProcessing(), and DtRtiAssistantPeer::sendMsg().
|
virtual |
Get/Set the ID of the destination of this message.
Assistant-to-Assistant messages only.
References DtNetAssistantSrcDestInfo::destId, DtASSISTANT_DEFAULT_DEST_ID, and srcDestInfoPtr().
Referenced by DtRtiAssistantPeer::needsProcessing(), and DtRtiAssistantPeer::sendMsgToAssistant().
|
protected |
Called by ctor, so not virtual.
References DtAssistantMessageVersion, DtNetAssistantMsgHeader::msgKind, netHeader(), and DtNetAssistantMsgHeader::version.
Referenced by DtAssistantAwaitingForwardersMsg::DtAssistantAwaitingForwardersMsg(), DtAssistantChangeLatencyTestModeMsg::DtAssistantChangeLatencyTestModeMsg(), DtAssistantCommandMsg::DtAssistantCommandMsg(), DtAssistantConnMsg::DtAssistantConnMsg(), DtAssistantConnQueryMsg::DtAssistantConnQueryMsg(), DtAssistantDeleteFederateMsg::DtAssistantDeleteFederateMsg(), DtAssistantDeleteFederationMsg::DtAssistantDeleteFederationMsg(), DtAssistantExecObserveRspMsg::DtAssistantExecObserveRspMsg(), DtAssistantExitMsg::DtAssistantExitMsg(), DtAssistantFederateSignalTickIntervalMsg::DtAssistantFederateSignalTickIntervalMsg(), DtAssistantFederateStateMsg::DtAssistantFederateStateMsg(), DtAssistantFederationStateMsg::DtAssistantFederationStateMsg(), DtAssistantForwarderStateMsg::DtAssistantForwarderStateMsg(), DtAssistantInfoMsg::DtAssistantInfoMsg(), DtAssistantLatencyReportMsg::DtAssistantLatencyReportMsg(), DtAssistantLicQueryMsg::DtAssistantLicQueryMsg(), DtAssistantLicServerInfoMsg::DtAssistantLicServerInfoMsg(), DtAssistantLightweightInfoMsg::DtAssistantLightweightInfoMsg(), DtAssistantLogEnableMsg::DtAssistantLogEnableMsg(), DtAssistantLogMsg::DtAssistantLogMsg(), DtAssistantLogRequestMsg::DtAssistantLogRequestMsg(), DtAssistantLrcCompInfoMsg::DtAssistantLrcCompInfoMsg(), DtAssistantNetworkTestEnableMsg::DtAssistantNetworkTestEnableMsg(), DtAssistantNotifyMsg::DtAssistantNotifyMsg(), DtAssistantNotifyObserveMsg::DtAssistantNotifyObserveMsg(), DtAssistantNtfyLvlUpdateMsg::DtAssistantNtfyLvlUpdateMsg(), DtAssistantPopupMsg::DtAssistantPopupMsg(), DtAssistantQueryMsg::DtAssistantQueryMsg(), DtAssistantRemovalMsg::DtAssistantRemovalMsg(), DtAssistantRidParamsMsg::DtAssistantRidParamsMsg(), DtAssistantRtiexecCompInfoMsg::DtAssistantRtiexecCompInfoMsg(), DtAssistantRtiForwarderCompInfoMsg::DtAssistantRtiForwarderCompInfoMsg(), DtAssistantShmCompInfoMsg::DtAssistantShmCompInfoMsg(), DtAssistantShowDialogMsg::DtAssistantShowDialogMsg(), DtAssistantShutdownMsg::DtAssistantShutdownMsg(), DtAssistantSignalTickedMsg::DtAssistantSignalTickedMsg(), DtAssistantStateObserveMsg::DtAssistantStateObserveMsg(), DtAssistantSyncPtUpdateMsg::DtAssistantSyncPtUpdateMsg(), DtAssistantTestMgrStatusMsg::DtAssistantTestMgrStatusMsg(), DtAssistantTimeStateMsg::DtAssistantTimeStateMsg(), and DtAssistantWwwCompInfoMsg::DtAssistantWwwCompInfoMsg().
|
protected |
|
protected |
References DtNetAssistantMsgHeader::totalSize.
|
protectedpure virtual |
Implemented in DtAssistantLrcCompInfoMsg, DtAssistantFederateStateMsg, DtAssistantConnQueryMsg, DtAssistantRtiexecCompInfoMsg, DtAssistantRtiForwarderCompInfoMsg, DtAssistantFederationStateMsg, DtAssistantStateObserveMsg, DtAssistantStartRtiexecMsg, DtAssistantChangeLatencyTestModeMsg, DtAssistantForwarderStateMsg, DtAssistantCommandMsg, DtAssistantTestMgrStatusMsg, DtAssistantRidParamsMsg, DtAssistantLatencyReportMsg, DtAssistantShmCompInfoMsg, DtAssistantWwwCompInfoMsg, DtAssistantSyncPtUpdateMsg, DtAssistantPopupMsg, DtAssistantExecStateMsg, DtAssistantAwaitingForwardersMsg, DtAssistantLicQueryMsg, DtAssistantNotifyMsg, DtAssistantExecObserveRspMsg, DtAssistantInfoMsg, DtAssistantShutdownMsg, DtAssistantDeleteFederateMsg, DtAssistantShowDialogMsg, DtAssistantLogMsg, DtAssistantConnMsg, DtAssistantDeleteFederationMsg, DtAssistantLightweightInfoMsg, DtAssistantNetworkTestEnableMsg, DtAssistantLogRequestMsg, DtAssistantTimeStateMsg, DtAssistantLicServerInfoMsg, DtAssistantNtfyLvlUpdateMsg, DtAssistantExitMsg, DtAssistantFederateSignalTickIntervalMsg, DtAssistantLogEnableMsg, DtAssistantNotifyObserveMsg, DtAssistantQueryMsg, DtAssistantSignalTickedMsg, DtAssistantRemovalMsg, and DtAssistantTemplateMsg.
| bool DtAssistantMsg::isAssistantToAssistantMessage | ( | ) | const |
Returns whether or not this message contains source/destination information included in messages sent between assistants.
References netHeader().
Referenced by DtRtiAssistantServer::forwardMsg(), DtAssistantLatencyTestMgr::getRtiexecConn(), DtAssistantFederationsViewMgr::processExecObserveRspMsg(), DtAssistantFederationsInfoMgr::processExecObserveRspMsg(), DtAssistantFederationsInfoMgr::processFederationStateMsg(), DtAssistantNetworkCompInfoMgr::processForwarderObserveMsg(), DtAssistantNetworkCompInfoMgr::processForwarderStateMsgForConnection(), DtAssistantLatencyTestMgr::processLatencyTestResults(), DtRtiexecObserverForAssistant::processLogRequestMsg(), DtAssistantTrayIconMgr::processNotifyMsg(), DtAssistantFederationsInfoMgr::processObserveMsg(), DtAssistantFederationsViewMgr::processRidParamMsg(), DtAssistantFederationsViewMgr::processRtiexecNotifyMsg(), DtAssistantFederationsInfoMgr::processSyncPtStateMsg(), DtAssistantLatencyTestMgr::processTestCommand(), resizeForSrcDestInfo(), and srcDestInfoPtr().
|
inlinevirtual |
Message is good?
Referenced by DtRtiAssistantClient::netRead(), DtRtiAssistantServer::netRead(), and DtRtiAssistantPeer::netRead().
|
virtual |
Returns bool: message version is valid?
References DtAssistantMessageVersion, netHeader(), and DtNetAssistantMsgHeader::versionMatches().
|
static |
Returns the name of the message, by kind enumeration.
References DtKINDSTR.
Referenced by DtRtiAssistantClient::netRead(), DtRtiAssistantServer::netRead(), printHeader(), DtRtiAssistantServer::readAndProcess(), DtRtiAssistantPeer::readAndProcess(), DtRtiAssistantServer::sendBroadcast(), DtRtiAssistantPeer::sendMsg(), and DtRtiAssistantServer::sendMsgOnConn().
|
inlinevirtual |
Get the message kind.
References netHeader().
Referenced by printHeader(), DtRtiAssistantServer::readAndProcess(), DtRtiAssistantPeer::readAndProcess(), DtRtiAssistantServer::sendBroadcast(), DtRtiAssistantPeer::sendMsg(), and DtRtiAssistantServer::sendMsgOnConn().
|
inlinevirtual |
Get header of network representation.
Referenced by DtNetAssistantMsgHeaderParam::endPtr(), initAssistantMsg(), isAssistantToAssistantMessage(), isValidVersion(), msgKind(), printData(), resizeForSrcDestInfo(), setSourceHost(), sizeChanged(), srcDestInfoPtr(), and version().
|
virtual |
Printing functions.
References printData(), and printHeader().
|
virtual |
Reimplemented in DtAssistantLrcCompInfoMsg, DtAssistantFederateStateMsg, DtAssistantRtiexecCompInfoMsg, DtAssistantRtiForwarderCompInfoMsg, DtAssistantFederationStateMsg, DtAssistantStartRtiexecMsg, DtAssistantStateObserveMsg, DtAssistantConnQueryMsg, DtAssistantWwwCompInfoMsg, DtAssistantRidParamsMsg, DtAssistantShmCompInfoMsg, DtAssistantSyncPtUpdateMsg, DtAssistantCommandMsg, DtAssistantInfoMsg, DtAssistantLicQueryMsg, DtAssistantNotifyMsg, DtAssistantShowDialogMsg, DtAssistantExecObserveRspMsg, DtAssistantShutdownMsg, DtAssistantConnMsg, DtAssistantTestMgrStatusMsg, DtAssistantLogMsg, DtAssistantLightweightInfoMsg, DtAssistantNetworkTestEnableMsg, DtAssistantDeleteFederateMsg, DtAssistantTimeStateMsg, DtAssistantPopupMsg, DtAssistantLatencyReportMsg, DtAssistantTemplateMsg, DtAssistantChangeLatencyTestModeMsg, DtAssistantLicServerInfoMsg, DtAssistantNtfyLvlUpdateMsg, DtAssistantDeleteFederationMsg, DtAssistantLogEnableMsg, DtAssistantLogRequestMsg, DtAssistantNotifyObserveMsg, DtAssistantAwaitingForwardersMsg, DtAssistantExecStateMsg, DtAssistantQueryMsg, DtAssistantExitMsg, DtAssistantFederateSignalTickIntervalMsg, DtAssistantForwarderStateMsg, DtAssistantSignalTickedMsg, and DtAssistantRemovalMsg.
References netHeader().
Referenced by print().
|
virtual |
References kindToString(), msgKind(), and version().
Referenced by print().
|
protectedvirtual |
Allocates memory at the end of the message for source/destination information needed when sending messages between assistants.
References DtASSISTANT_DEFAULT_DEST_ID, isAssistantToAssistantMessage(), netHeader(), setDestId(), and DtNetAssistantMsgHeader::srcDestInfoSize.
Referenced by setCompId(), setDestAddr(), setDestId(), setSourceAddr(), setSourceHost(), and setSourceId().
|
virtual |
References DtNetAssistantSrcDestInfo::compId, compId(), resizeForSrcDestInfo(), and srcDestInfoPtr().
Referenced by DtRtiAssistantServer::sendConnMsg(), DtRtiAssistantPeer::sendFedDisconnectNetStatsObsRespMsg(), DtRtiAssistantPeer::sendFederateResignMsg(), DtRtiAssistantPeer::sendFederationDestroyMsg(), DtRtiAssistantPeer::sendFederationStateMsg(), DtRtiAssistantLrcClient::sendFomTreeData(), DtRtiAssistantPeer::sendFomTreeData(), DtRtiAssistantLrcClient::sendFomUpdate(), DtRtiAssistantPeer::sendLatencyTestRequestMsg(), DtRtiAssistantPeer::sendLogRequestMsg(), DtRtiAssistantLrcClient::sendNetStatsAttrParamStringUpdate(), DtRtiAssistantPeer::sendNetStatsAttrParamStringUpdate(), DtRtiAssistantLrcClient::sendNetStatsFomAttrParamUpdate(), DtRtiAssistantPeer::sendNetStatsFomAttrParamUpdate(), DtRtiAssistantPeer::sendNetStatsInitStateRequestMsg(), DtRtiAssistantServer::sendNetStatsObservationRequestMsg(), DtRtiAssistantPeer::sendNetStatsObservationRequestMsg(), DtRtiAssistantPeer::sendNetStatsObservationResponseMsg(), DtRtiAssistantLrcClient::sendNetStatsStringUpdate(), DtRtiAssistantPeer::sendNetStatsStringUpdate(), DtRtiAssistantPeer::sendNetStatsStringUpdateReqMsg(), DtRtiAssistantLrcClient::sendNetStatsUpdate(), DtRtiAssistantPeer::sendNetworkTestEnableMsg(), DtRtiAssistantPeer::sendNoFederationMsg(), DtRtiAssistantLrcClient::sendObjectInstanceNetStatsStringUpdate(), DtRtiAssistantPeer::sendObserveFederationsMsg(), DtRtiAssistantPeer::sendObserveRtiExecLogMsg(), DtRtiAssistantPeer::sendObserveRtiexecRspMsg(), DtRtiAssistantPeer::sendObserveRtiForwarderMsg(), DtRtiAssistantPeer::sendRidParamsRequestMsg(), and DtRtiAssistantPeer::sendRtiexecExitMsg().
|
virtual |
References DtNetAssistantSrcDestInfo::destAddr, DtNetAssistantSrcDestInfo::inetAddrFamily, resizeForSrcDestInfo(), and srcDestInfoPtr().
Referenced by DtRtiAssistantPeer::sendFederateInfoReqMsg(), DtRtiAssistantExecClient::sendLogMsg(), DtRtiAssistantPeer::sendMsgToAssistant(), and DtRtiAssistantPeer::sendObserveFederationsMsg().
|
virtual |
References DtNetAssistantSrcDestInfo::destId, resizeForSrcDestInfo(), and srcDestInfoPtr().
Referenced by resizeForSrcDestInfo(), DtRtiAssistantPeer::sendFederateInfoReqMsg(), DtRtiAssistantExecClient::sendLogMsg(), DtRtiAssistantPeer::sendMsgToAssistant(), and DtRtiAssistantPeer::sendObserveFederationsMsg().
|
virtual |
References DtNetAssistantSrcDestInfo::inetAddrFamily, resizeForSrcDestInfo(), DtNetAssistantSrcDestInfo::srcAddr, and srcDestInfoPtr().
Referenced by DtRtiAssistantPeer::sendMsg().
|
virtual |
References rti1516e::insertBytes(), netHeader(), resizeForSrcDestInfo(), setSourceHostSize(), sourceHostPtr(), sourceHostSize(), and DtNetAssistantMsgHeader::srcDestInfoSize.
Referenced by DtRtiAssistantPeer::sendMsg().
|
protectedvirtual |
Set/Get source host name text size.
References srcDestInfoPtr(), and DtNetAssistantSrcDestInfo::srcHostSize.
Referenced by setSourceHost().
|
virtual |
References resizeForSrcDestInfo(), srcDestInfoPtr(), and DtNetAssistantSrcDestInfo::srcId.
Referenced by DtRtiAssistantPeer::sendMsg().
|
protectedvirtual |
Called whenever size is changed using changeSize, or insert/deleteBytes.
References netHeader(), and DtNetAssistantMsgHeader::totalSize.
|
virtual |
Get/Set the IP address of the source of this message.
Assistant-to-Assistant messages only.
References DtNetAssistantSrcDestInfo::inetAddrFamily, DtNetAssistantSrcDestInfo::srcAddr, and srcDestInfoPtr().
Referenced by DtAssistantLatencyTestMgr::getRtiexecConn(), DtRtiAssistantPeer::needsProcessing(), DtRtiAssistantPeer::netRead(), DtAssistantFederationsViewMgr::processExecObserveRspMsg(), DtAssistantFederationsInfoMgr::processExecObserveRspMsg(), DtAssistantFederationsInfoMgr::processFederateResponseMsg(), DtAssistantNetworkCompInfoMgr::processForwarderObserveMsg(), DtAssistantNetworkCompInfoMgr::processForwarderStateMsgForConnection(), DtAssistantConnectionInfoMgr::processInfoMsg(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtRtiexecObserverForAssistant::processLogRequestMsg(), DtAssistantFederateViewMgr::processNetStatsObserveReqMsg(), DtAssistantFederateViewMgr::processNetStatsObserveRspMsg(), DtAssistantTrayIconMgr::processNotifyObserveMsg(), DtAssistantFederationsInfoMgr::processObserveMsg(), DtAssistantFomViewMgr::processPeerNetStatsAttrParamStringUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsFedAmbUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsFomAttrParamUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsFomTreeUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsInitStateRequestMsg(), DtAssistantFederateViewMgr::processPeerNetStatsInteractionsUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsMsgUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsObjectsUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsObserveReqMsg(), DtAssistantFomViewMgr::processPeerNetStatsObserveRspMsg(), DtAssistantFederateViewMgr::processPeerNetStatsRtiAmbUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsStringReqMsg(), DtAssistantFederateViewMgr::processPeerNetStatsStringUpdateMsg(), DtAssistantFederationsInfoMgr::processRemoteRtiexecPopupMsg(), DtAssistantConnectionInfoMgr::processRemovalMsg(), DtAssistantFederationsViewMgr::processRidParamMsg(), DtAssistantFederationsViewMgr::processRtiexecNotifyMsg(), DtAssistantFederationsInfoMgr::processSyncPtStateMsg(), and DtAssistantLatencyTestMgr::processTestCommand().
|
virtual |
Get/Set the host name of the source of this message.
Assistant-to-Assistant messages only.
References sourceHostPtr(), sourceHostSize(), and srcDestInfoPtr().
Referenced by DtAssistantLatencyTestMgr::getRtiexecConn(), DtAssistantFederationsViewMgr::processExecObserveRspMsg(), DtAssistantFederationsInfoMgr::processExecObserveRspMsg(), DtAssistantFederationsInfoMgr::processFederateResponseMsg(), DtAssistantNetworkCompInfoMgr::processForwarderObserveMsg(), DtAssistantNetworkCompInfoMgr::processForwarderStateMsgForConnection(), DtAssistantConnectionInfoMgr::processInfoMsg(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtAssistantFederateViewMgr::processNetStatsObserveReqMsg(), DtAssistantFederateViewMgr::processNetStatsObserveRspMsg(), DtAssistantTrayIconMgr::processNotifyMsg(), DtAssistantTrayIconMgr::processNotifyObserveMsg(), DtAssistantFederationsInfoMgr::processObserveMsg(), DtAssistantFomViewMgr::processPeerNetStatsAttrParamStringUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsFedAmbUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsFomAttrParamUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsFomTreeUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsInitStateRequestMsg(), DtAssistantFederateViewMgr::processPeerNetStatsInteractionsUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsMsgUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsObjectsUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsObserveReqMsg(), DtAssistantFomViewMgr::processPeerNetStatsObserveRspMsg(), DtAssistantFederateViewMgr::processPeerNetStatsRtiAmbUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsStringReqMsg(), DtAssistantFederateViewMgr::processPeerNetStatsStringUpdateMsg(), DtAssistantFederationsInfoMgr::processRemoteRtiexecPopupMsg(), DtAssistantConnectionInfoMgr::processRemovalMsg(), DtAssistantFederationsViewMgr::processRidParamMsg(), DtAssistantFederationsViewMgr::processRtiexecNotifyMsg(), DtAssistantConnectionInfoMgr::processStartRtiexecMsg(), DtAssistantFederationsInfoMgr::processSyncPtStateMsg(), DtAssistantLatencyTestMgr::processTestCommand(), DtRtiAssistantPeer::readAndProcess(), and DtRtiAssistantPeer::sendMsg().
|
protectedvirtual |
Return pointer to source host name in message.
References srcDestInfoPtr().
Referenced by setSourceHost(), and sourceHost().
|
protectedvirtual |
References srcDestInfoPtr().
|
protectedvirtual |
References srcDestInfoPtr(), and DtNetAssistantSrcDestInfo::srcHostSize.
Referenced by setSourceHost(), and sourceHost().
|
virtual |
Get/Set the ID of the source of this message.
Assistant-to-Assistant messages only.
References DtASSISTANT_DEFAULT_DEST_ID, srcDestInfoPtr(), and DtNetAssistantSrcDestInfo::srcId.
Referenced by DtAssistantLatencyTestMgr::getRtiexecConn(), DtRtiAssistantPeer::needsProcessing(), DtAssistantFederationsViewMgr::processExecObserveRspMsg(), DtAssistantFederationsInfoMgr::processExecObserveRspMsg(), DtAssistantFederationsInfoMgr::processFederateResponseMsg(), DtAssistantNetworkCompInfoMgr::processForwarderObserveMsg(), DtAssistantNetworkCompInfoMgr::processForwarderStateMsgForConnection(), DtAssistantConnectionInfoMgr::processInfoMsg(), DtAssistantConnectionInfoMgr::processLightweightInfoMsg(), DtRtiexecObserverForAssistant::processLogRequestMsg(), DtAssistantFederateViewMgr::processNetStatsObserveReqMsg(), DtAssistantFederateViewMgr::processNetStatsObserveRspMsg(), DtAssistantTrayIconMgr::processNotifyObserveMsg(), DtAssistantFederationsInfoMgr::processObserveMsg(), DtAssistantFomViewMgr::processPeerNetStatsAttrParamStringUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsFedAmbUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsFomAttrParamUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsFomTreeUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsInitStateRequestMsg(), DtAssistantFederateViewMgr::processPeerNetStatsInteractionsUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsMsgUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsObjectsUpdateMsg(), DtAssistantFomViewMgr::processPeerNetStatsObserveReqMsg(), DtAssistantFomViewMgr::processPeerNetStatsObserveRspMsg(), DtAssistantFederateViewMgr::processPeerNetStatsRtiAmbUpdateMsg(), DtAssistantFederateViewMgr::processPeerNetStatsStringReqMsg(), DtAssistantFederateViewMgr::processPeerNetStatsStringUpdateMsg(), DtAssistantFederationsInfoMgr::processRemoteRtiexecPopupMsg(), DtAssistantConnectionInfoMgr::processRemovalMsg(), DtAssistantFederationsViewMgr::processRidParamMsg(), DtAssistantFederationsViewMgr::processRtiexecNotifyMsg(), DtAssistantFederationsInfoMgr::processSyncPtStateMsg(), and DtAssistantLatencyTestMgr::processTestCommand().
|
protectedvirtual |
Return pointer to source/destination information in the message.
If the message does not contain this info, will return 0.
References isAssistantToAssistantMessage(), netHeader(), and DtNetAssistantMsgHeader::srcDestInfoSize.
Referenced by compId(), destAddr(), destId(), setCompId(), setDestAddr(), setDestId(), setSourceAddr(), setSourceHostSize(), setSourceId(), sourceAddr(), sourceHost(), sourceHostPtr(), sourceHostSize(), and sourceId().
|
protectedvirtual |
|
virtual |
Return the message version.
References DtAssistantMessageVersion, and netHeader().
Referenced by printHeader(), and DtAssistantFederateStateMsg::setHlaVersion().