![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for DtJoinResponseMsg:
Collaboration diagram for DtJoinResponseMsg:Public Types | |
| enum | errorCodes { DT_NO_ERROR = 0, DT_FEDEX_DOES_NOT_EXIST, DT_SAVE_IN_PROGRESS, DT_RESTORE_IN_PROGRESS, DT_FED_FILE_NOT_READY, DT_MAX_FEDERATES_JOINED, DT_FED_FILE_MERGE_PROBLEM, DT_FAILED_TO_GET_LICENSE, DT_RTIEXEC_LICENSING_PARAM_MISMATCH, DT_PARTNER_TAKEN, DT_TYPE_CONFLICT, DT_NAME_IN_USE, DT_UNKNOWN_ERROR, DT_WAITING, DT_CRC_FAILURE } |
| error codes for the errorValue flag More... | |
Public Member Functions | |
| DtJoinResponseMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtJoinResponseMsg (unsigned long destinationIDValue, unsigned short requestIDValue, DtFederateHandle federateHandleValue, MAKRti::DtString federateNameValue, unsigned short fedExHandleValue, MAKRti::DtString const &fedExNameValue, MAKRti::DtString const &timeImplNameValue, unsigned int crcOfFedFileValue, const MAKRti::DtString &momModule, const std::vector< MAKRti::DtString > &moduleNames, unsigned long flagsValue, bool allowNetworkTestValue, bool enableNetworkTestValue, const DtFederateNameAndHdlMap *namesAndHdls, errorCodes errorValue=DT_NO_ERROR, const DtString &errorString=DtString::nullString(), DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtJoinResponseMsg (const DtNetJoinResponseMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtJoinResponseMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (unsigned long destinationIDValue, unsigned short requestIDValue, DtFederateHandle federateHandleValue, MAKRti::DtString federateNameValue, unsigned short fedExHandleValue, MAKRti::DtString const &fedExNameValue, MAKRti::DtString const &timeImplNameValue, unsigned int crcOfFedFileValue, const MAKRti::DtString &momModule, const std::vector< MAKRti::DtString > &moduleNames, unsigned long flagsValue, bool allowNetworkTestValue, bool enableNetworkTestValue, const DtFederateNameAndHdlMap *namesAndHdls, errorCodes errorValue=DT_NO_ERROR, const DtString &errorString=DtString::nullString()) |
| Set all fields simultaneously. | |
| virtual unsigned long | destinationID () const |
| Set/Get federate destination ID The federate name is not enough to uniquely identify it among other federates. | |
| virtual void | setDestinationID (unsigned long destinationIDValue) |
| virtual unsigned short | requestID () const |
| Set/Get request ID. | |
| virtual void | setRequestID (unsigned short requestIDValue) |
| virtual MAKRti::DtString | fullFedExName () const |
| Set/Get full name of federation execution. | |
| virtual void | setFullFedExName (MAKRti::DtString const &name) |
| virtual unsigned short | fedexHandleToUse () const |
| Set/Get federate handle assigned by fedex. | |
| virtual void | setFedexHandleToUse (unsigned short handle) |
| virtual MAKRti::DtString | federateName () const |
| Set/Get federate name. | |
| virtual void | setFederateName (MAKRti::DtString const &name) |
| virtual MAKRti::DtString | timeImplName () const |
| Set/Get time implementation name. | |
| virtual void | setTimeImplName (MAKRti::DtString const &name) |
| virtual MAKRti::DtString | momModuleName () const |
| Set/Get MOM module name. | |
| virtual void | setMomModuleName (MAKRti::DtString const &name) |
| virtual void | setfomModuleNames (const std::vector< MAKRti::DtString > &moduleNames) |
| Set/Get Fom Module Names. | |
| virtual void | getFomModuleNames (std::vector< MAKRti::DtString > &modules) const |
| virtual DtFederateHandle | federateHandleToUse () const |
| Set/Get federate handle assigned by fedex. | |
| virtual void | setFederateHandleToUse (DtFederateHandle handle) |
| virtual unsigned int | crcOfFedFile () const |
| Set / get the crc of the fed file. | |
| virtual void | setCrcOfFedFile (unsigned int crc) |
| virtual void | setErrorValue (errorCodes value) |
| Set/Get error value. | |
| virtual errorCodes | errorValue () const |
| virtual void | setErrorString (MAKRti::DtString const &errorStr) |
| Set/Get error string. | |
| virtual MAKRti::DtString | errorString () const |
| virtual void | setFlags (unsigned long value) |
| Set/Get flags. | |
| virtual unsigned long | flags () const |
| virtual void | setAllowNetworkTest (bool value) |
| Set/Get whether network testing is ever allowed in this federation. | |
| virtual bool | allowNetworkTest () const |
| virtual void | setNetworkTestEnabled (bool value) |
| Set/Get whether network testing is currently enabled. | |
| virtual bool | networkTestEnabled () const |
| virtual void | setFederateNamesAndHandles (const std::map< MAKRti::DtString, DtFederateHandle > &) |
| Set/Get the federate names and handles. | |
| virtual void | getFederateNamesAndHandles (std::map< MAKRti::DtString, DtFederateHandle > &namesAndHdls) const |
| virtual void | setFederateNamesSize (unsigned long size) |
| Set/Get the federate names size. | |
| virtual unsigned long | federateNamesSize () const |
| virtual unsigned | numFederates () const |
| Set/Get the number of federate names and handles. | |
| virtual void | setNumFederates (unsigned num) |
| virtual void | printData (DtLogicalTimeFactory *logicalTimeFactory) const |
| Print the data section. | |
Static Public Member Functions | |
| static DtRtiMsg * | create (const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creator. | |
| static DtRtiMsg * | create (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Creator. | |
| static void | addCallback (DtConnectionMgr *conn, DtJoinResponseCb cb, void *usr) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtJoinResponseCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetJoinResponseMsg * | netJoinResponseMsg () |
| The network representation. | |
| virtual const DtNetJoinResponseMsg * | netJoinResponseMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an JoinResponse Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual int | setMinSizes (const MAKRti::DtString &fedExNameVal, const MAKRti::DtString &federateNameVal, const MAKRti::DtString &timeImplNameVal, const std::vector< MAKRti::DtString > &fomModuleNamesVal, const DtFederateNameAndHdlMap *namesAndHdls, const MAKRti::DtString &errorString) |
| Sets the field sizes for the variant components and returns the minimum size needed for the message, including header DOES NOT allocate memory for the components. | |
| virtual void | setFedExNameSize (unsigned long size) |
| Set/Get fedEx name size. | |
| virtual unsigned long | fedExNameSize () const |
| virtual void | setFederateNameSize (unsigned long size) |
| Set/Get federate name size. | |
| virtual unsigned long | federateNameSize () const |
| virtual void | setErrorStringSize (unsigned long size) |
| Set/Get error String size. | |
| virtual unsigned long | errorStringSize () const |
| virtual void | setTimeImplNameSize (unsigned long size) |
| Set/Get time implementation name size. | |
| virtual unsigned long | timeImplNameSize () const |
| virtual void | setMomModuleNameSize (unsigned long size) |
| Set/Get MOM module name size. | |
| virtual unsigned long | momModuleNameSize () const |
| virtual void | setfomModuleNameSize (unsigned long size) |
| Set/Get fomModules Names Size. | |
| virtual unsigned long | fomModuleNameSize () const |
| virtual char * | fedExNamePtr () |
| Return pointer to component location in message. | |
| virtual char * | federateNamePtr () |
| virtual char * | timeImplNamePtr () |
| virtual char * | momModuleNamePtr () |
| virtual char * | fomModuleNamesPtr () |
| virtual char * | federateNamesPtr () |
| virtual char * | errorStringPtr () |
| virtual DtNetU32 * | federateHandlesPtr () |
| virtual const char * | fedExNamePtr () const |
| Return pointer to component location in message. | |
| virtual const char * | federateNamePtr () const |
| virtual const char * | timeImplNamePtr () const |
| virtual const char * | momModuleNamePtr () const |
| virtual const char * | fomModuleNamesPtr () const |
| virtual const char * | federateNamesPtr () const |
| virtual const char * | errorStringPtr () const |
| virtual const DtNetU32 * | federateHandlesPtr () const |
| virtual DtJoinResponseMsg * | self () const |
| Casts away const-ness. | |
Protected Attributes | |
| DtFederateHandleSet * | mySet |
| Our federate handle set. | |
error codes for the errorValue flag
| DtJoinResponseMsg::DtJoinResponseMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
Referenced by clone(), create(), and setMinSizes().
| DtJoinResponseMsg::DtJoinResponseMsg | ( | unsigned long | destinationIDValue, |
| unsigned short | requestIDValue, | ||
| DtFederateHandle | federateHandleValue, | ||
| MAKRti::DtString | federateNameValue, | ||
| unsigned short | fedExHandleValue, | ||
| MAKRti::DtString const & | fedExNameValue, | ||
| MAKRti::DtString const & | timeImplNameValue, | ||
| unsigned int | crcOfFedFileValue, | ||
| const MAKRti::DtString & | momModule, | ||
| const std::vector< MAKRti::DtString > & | moduleNames, | ||
| unsigned long | flagsValue, | ||
| bool | allowNetworkTestValue, | ||
| bool | enableNetworkTestValue, | ||
| const DtFederateNameAndHdlMap * | namesAndHdls, | ||
| errorCodes | errorValue = DT_NO_ERROR, |
||
| const DtString & | errorString = DtString::nullString(), |
||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), setAllowNetworkTest(), setCrcOfFedFile(), setDestinationID(), setErrorString(), setErrorValue(), setFederateHandleToUse(), setFederateName(), setFederateNamesAndHandles(), setFedexHandleToUse(), setFlags(), setfomModuleNames(), setFullFedExName(), setMinSizes(), setMomModuleName(), setNetworkTestEnabled(), setRequestID(), and setTimeImplName().
| DtJoinResponseMsg::DtJoinResponseMsg | ( | const DtNetJoinResponseMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetJoinResponseMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtJoinResponseMsg::~DtJoinResponseMsg | ( | ) | [virtual] |
Destructor.
| void DtJoinResponseMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtJoinResponseCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtJoinResponseMsgKind.
Referenced by DtRtiExecFederateMgr::joinFederationExecution().
| bool DtJoinResponseMsg::allowNetworkTest | ( | ) | const [virtual] |
References netJoinResponseMsg().
| DtRtiMsg * DtJoinResponseMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtJoinResponseMsg(), and netJoinResponseMsg().
Referenced by DtRtiExecFederateMgr::processJoinResponseMsg().
| unsigned int DtJoinResponseMsg::crcOfFedFile | ( | ) | const [virtual] |
Set / get the crc of the fed file.
References DtNetJoinResponseMsg::crcOfFedFile, and netJoinResponseMsg().
Referenced by DtRtiExecFederateMgr::initializeFOM(), and printData().
| DtRtiMsg * DtJoinResponseMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtJoinResponseMsg().
| DtRtiMsg * DtJoinResponseMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
Creator.
References DtJoinResponseMsg().
| unsigned long DtJoinResponseMsg::destinationID | ( | ) | const [virtual] |
Set/Get federate destination ID The federate name is not enough to uniquely identify it among other federates.
This destination ID was the unique source ID that the federate supplied for join.
References DtNetJoinResponseMsg::destinationID, and netJoinResponseMsg().
Referenced by DtFederateTrackingFilter::handleJoinResponseMsg(), printData(), and DtRtiExecFederateMgr::processJoinResponseMsg().
| MAKRti::DtString DtJoinResponseMsg::errorString | ( | ) | const [virtual] |
References errorStringPtr(), and errorStringSize().
Referenced by DtRtiExecFederateMgr::checkJoinResponse(), printData(), and DtRtiExecFederateMgr::processJoinResponseMsg().
| char * DtJoinResponseMsg::errorStringPtr | ( | ) | [protected, virtual] |
References federateNamesPtr(), and federateNamesSize().
Referenced by errorString(), and setErrorString().
| const char * DtJoinResponseMsg::errorStringPtr | ( | ) | const [protected, virtual] |
References federateNamesPtr(), and federateNamesSize().
| unsigned long DtJoinResponseMsg::errorStringSize | ( | ) | const [protected, virtual] |
References DtNetJoinResponseMsg::errorStringSize, and netJoinResponseMsg().
Referenced by errorString(), and setErrorString().
| DtJoinResponseMsg::errorCodes DtJoinResponseMsg::errorValue | ( | ) | const [virtual] |
References DtNetJoinResponseMsg::errorValue, and netJoinResponseMsg().
Referenced by DtRtiExecFederateMgr::checkJoinResponse(), printData(), and DtRtiExecFederateMgr::processJoinResponseMsg().
| DtNetU32 * DtJoinResponseMsg::federateHandlesPtr | ( | ) | [protected, virtual] |
References netJoinResponseMsg().
Referenced by federateNamesPtr(), fullFedExName(), getFederateNamesAndHandles(), and setFederateNamesAndHandles().
| const DtNetU32 * DtJoinResponseMsg::federateHandlesPtr | ( | ) | const [protected, virtual] |
References netJoinResponseMsg().
| DtFederateHandle DtJoinResponseMsg::federateHandleToUse | ( | ) | const [virtual] |
Set/Get federate handle assigned by fedex.
References DtNetJoinResponseMsg::federateHandleToUse, and netJoinResponseMsg().
Referenced by printData(), and DtRtiExecFederateMgr::processJoinResponseMsg().
| MAKRti::DtString DtJoinResponseMsg::federateName | ( | ) | const [virtual] |
Set/Get federate name.
References federateNamePtr(), and federateNameSize().
Referenced by DtFederateTrackingFilter::handleJoinResponseMsg(), and DtRtiExecFederateMgr::processJoinResponseMsg().
| char * DtJoinResponseMsg::federateNamePtr | ( | ) | [protected, virtual] |
References timeImplNamePtr(), and timeImplNameSize().
Referenced by federateName(), momModuleNamePtr(), and setFederateName().
| const char * DtJoinResponseMsg::federateNamePtr | ( | ) | const [protected, virtual] |
References timeImplNamePtr(), and timeImplNameSize().
| unsigned long DtJoinResponseMsg::federateNameSize | ( | ) | const [protected, virtual] |
References DtNetJoinResponseMsg::federateNameSize, and netJoinResponseMsg().
Referenced by federateName(), momModuleNamePtr(), and setFederateName().
| char * DtJoinResponseMsg::federateNamesPtr | ( | ) | [protected, virtual] |
References federateHandlesPtr(), and numFederates().
Referenced by errorStringPtr(), fedExNamePtr(), getFederateNamesAndHandles(), and setFederateNamesAndHandles().
| const char * DtJoinResponseMsg::federateNamesPtr | ( | ) | const [protected, virtual] |
References federateHandlesPtr(), and numFederates().
| unsigned long DtJoinResponseMsg::federateNamesSize | ( | ) | const [virtual] |
References DtNetJoinResponseMsg::federateNamesSize, and netJoinResponseMsg().
Referenced by errorStringPtr(), fedExNamePtr(), and setFederateNamesAndHandles().
| unsigned short DtJoinResponseMsg::fedexHandleToUse | ( | ) | const [virtual] |
Set/Get federate handle assigned by fedex.
References DtNetJoinResponseMsg::fedexHandleToUse, and netJoinResponseMsg().
Referenced by printData().
| char * DtJoinResponseMsg::fedExNamePtr | ( | ) | [protected, virtual] |
Return pointer to component location in message.
References federateNamesPtr(), and federateNamesSize().
Referenced by fullFedExName(), setFullFedExName(), and timeImplNamePtr().
| const char * DtJoinResponseMsg::fedExNamePtr | ( | ) | const [protected, virtual] |
Return pointer to component location in message.
References federateNamesPtr(), and federateNamesSize().
| unsigned long DtJoinResponseMsg::fedExNameSize | ( | ) | const [protected, virtual] |
References DtNetJoinResponseMsg::fedExNameSize, and netJoinResponseMsg().
Referenced by fullFedExName(), setFullFedExName(), and timeImplNamePtr().
| unsigned long DtJoinResponseMsg::flags | ( | ) | const [virtual] |
References DtNetJoinResponseMsg::flags, and netJoinResponseMsg().
Referenced by setFlags().
| unsigned long DtJoinResponseMsg::fomModuleNameSize | ( | ) | const [protected, virtual] |
References DtNetJoinResponseMsg::fomModuleNamesSize, and netJoinResponseMsg().
Referenced by setfomModuleNames().
| char * DtJoinResponseMsg::fomModuleNamesPtr | ( | ) | [protected, virtual] |
References momModuleNamePtr(), and momModuleNameSize().
Referenced by getFomModuleNames(), and setfomModuleNames().
| const char * DtJoinResponseMsg::fomModuleNamesPtr | ( | ) | const [protected, virtual] |
References momModuleNamePtr(), and momModuleNameSize().
| MAKRti::DtString DtJoinResponseMsg::fullFedExName | ( | ) | const [virtual] |
Set/Get full name of federation execution.
References federateHandlesPtr(), fedExNamePtr(), and fedExNameSize().
Referenced by DtRtiExecFederateMgr::initializeFOM(), and printData().
| void DtJoinResponseMsg::getFederateNamesAndHandles | ( | std::map< MAKRti::DtString, DtFederateHandle > & | namesAndHdls | ) | const [virtual] |
References federateHandlesPtr(), federateNamesPtr(), and numFederates().
Referenced by DtRtiExecFederateMgr::processJoinResponseMsg().
| void DtJoinResponseMsg::getFomModuleNames | ( | std::vector< MAKRti::DtString > & | modules | ) | const [virtual] |
References fomModuleNamesPtr(), netJoinResponseMsg(), and DtNetJoinResponseMsg::numFomModules.
Referenced by DtRtiExecFederateMgr::initializeFOM(), and printData().
| DtRtiMsgKind DtJoinResponseMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an JoinResponse Msg.
Implements DtRtiMsg.
References DtJoinResponseMsgKind.
Referenced by DtJoinResponseMsg().
| int DtJoinResponseMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtJoinResponseMsg(), and set().
| MAKRti::DtString DtJoinResponseMsg::momModuleName | ( | ) | const [virtual] |
Set/Get MOM module name.
References momModuleNamePtr(), and momModuleNameSize().
Referenced by DtRtiExecFederateMgr::initializeFOM().
| char * DtJoinResponseMsg::momModuleNamePtr | ( | ) | [protected, virtual] |
References federateNamePtr(), and federateNameSize().
Referenced by fomModuleNamesPtr(), momModuleName(), and setMomModuleName().
| const char * DtJoinResponseMsg::momModuleNamePtr | ( | ) | const [protected, virtual] |
References federateNamePtr(), and federateNameSize().
| unsigned long DtJoinResponseMsg::momModuleNameSize | ( | ) | const [protected, virtual] |
References DtNetJoinResponseMsg::momModuleNameSize, and netJoinResponseMsg().
Referenced by fomModuleNamesPtr(), momModuleName(), and setMomModuleName().
| DtNetJoinResponseMsg * DtJoinResponseMsg::netJoinResponseMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by allowNetworkTest(), clone(), crcOfFedFile(), destinationID(), errorStringSize(), errorValue(), federateHandlesPtr(), federateHandleToUse(), federateNameSize(), federateNamesSize(), fedexHandleToUse(), fedExNameSize(), flags(), fomModuleNameSize(), getFomModuleNames(), momModuleNameSize(), networkTestEnabled(), numFederates(), requestID(), set(), setAllowNetworkTest(), setCrcOfFedFile(), setDestinationID(), setErrorString(), setErrorStringSize(), setErrorValue(), setFederateHandleToUse(), setFederateName(), setFederateNameSize(), setFederateNamesSize(), setFedexHandleToUse(), setFedExNameSize(), setFlags(), setfomModuleNames(), setfomModuleNameSize(), setFullFedExName(), setMomModuleName(), setMomModuleNameSize(), setNetworkTestEnabled(), setNumFederates(), setRequestID(), setTimeImplName(), setTimeImplNameSize(), and timeImplNameSize().
| const DtNetJoinResponseMsg * DtJoinResponseMsg::netJoinResponseMsg | ( | ) | const [protected, virtual] |
| bool DtJoinResponseMsg::networkTestEnabled | ( | ) | const [virtual] |
References netJoinResponseMsg().
| unsigned DtJoinResponseMsg::numFederates | ( | ) | const [virtual] |
Set/Get the number of federate names and handles.
References netJoinResponseMsg(), and DtNetJoinResponseMsg::numFederates.
Referenced by federateNamesPtr(), getFederateNamesAndHandles(), and setFederateNamesAndHandles().
| void DtJoinResponseMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
Print the data section.
Reimplemented from DtRtiMsg.
References crcOfFedFile(), destinationID(), errorString(), errorValue(), federateHandleToUse(), fedexHandleToUse(), fullFedExName(), getFomModuleNames(), requestID(), and timeImplName().
Referenced by DtRtiExecFederateMgr::processJoinResponseMsg().
| void DtJoinResponseMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtJoinResponseCb | cb, | ||
| void * | usr | ||
| ) | [static] |
| unsigned short DtJoinResponseMsg::requestID | ( | ) | const [virtual] |
Set/Get request ID.
References netJoinResponseMsg(), and DtNetJoinResponseMsg::requestID.
Referenced by printData(), and DtRtiExecFederateMgr::processJoinResponseMsg().
| DtJoinResponseMsg * DtJoinResponseMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtJoinResponseMsg::set | ( | unsigned long | destinationIDValue, |
| unsigned short | requestIDValue, | ||
| DtFederateHandle | federateHandleValue, | ||
| MAKRti::DtString | federateNameValue, | ||
| unsigned short | fedExHandleValue, | ||
| MAKRti::DtString const & | fedExNameValue, | ||
| MAKRti::DtString const & | timeImplNameValue, | ||
| unsigned int | crcOfFedFileValue, | ||
| const MAKRti::DtString & | momModule, | ||
| const std::vector< MAKRti::DtString > & | moduleNames, | ||
| unsigned long | flagsValue, | ||
| bool | allowNetworkTestValue, | ||
| bool | enableNetworkTestValue, | ||
| const DtFederateNameAndHdlMap * | namesAndHdls, | ||
| errorCodes | errorValue = DT_NO_ERROR, |
||
| const DtString & | errorString = DtString::nullString() |
||
| ) | [virtual] |
Set all fields simultaneously.
References rti1516e::insertBytes(), minSize(), netJoinResponseMsg(), setAllowNetworkTest(), setCrcOfFedFile(), setDestinationID(), setErrorString(), setErrorValue(), setFederateHandleToUse(), setFederateName(), setFederateNamesAndHandles(), setFedexHandleToUse(), setFlags(), setfomModuleNames(), setFullFedExName(), setMinSizes(), setMomModuleName(), setNetworkTestEnabled(), setRequestID(), and setTimeImplName().
Referenced by DtRtiExec::sendJoinResponseMsg(), and DtFedExec::sendJoinResponseMsg().
| void DtJoinResponseMsg::setAllowNetworkTest | ( | bool | value | ) | [virtual] |
Set/Get whether network testing is ever allowed in this federation.
References netJoinResponseMsg(), and DtNetJoinResponseMsg::networkTestFlags.
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setCrcOfFedFile | ( | unsigned int | crc | ) | [virtual] |
References DtNetJoinResponseMsg::crcOfFedFile, and netJoinResponseMsg().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setDestinationID | ( | unsigned long | destinationIDValue | ) | [virtual] |
References DtNetJoinResponseMsg::destinationID, and netJoinResponseMsg().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setErrorString | ( | MAKRti::DtString const & | errorStr | ) | [virtual] |
Set/Get error string.
References errorStringPtr(), DtNetJoinResponseMsg::errorStringSize, errorStringSize(), rti1516e::insertBytes(), and netJoinResponseMsg().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setErrorStringSize | ( | unsigned long | size | ) | [protected, virtual] |
Set/Get error String size.
References DtNetJoinResponseMsg::errorStringSize, and netJoinResponseMsg().
Referenced by setMinSizes().
| void DtJoinResponseMsg::setErrorValue | ( | errorCodes | value | ) | [virtual] |
Set/Get error value.
References DtNetJoinResponseMsg::errorValue, and netJoinResponseMsg().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setFederateHandleToUse | ( | DtFederateHandle | handle | ) | [virtual] |
References DtNetJoinResponseMsg::federateHandleToUse, and netJoinResponseMsg().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setFederateName | ( | MAKRti::DtString const & | name | ) | [virtual] |
References federateNamePtr(), DtNetJoinResponseMsg::federateNameSize, federateNameSize(), rti1516e::insertBytes(), and netJoinResponseMsg().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setFederateNamesAndHandles | ( | const std::map< MAKRti::DtString, DtFederateHandle > & | namesAndHdls | ) | [virtual] |
Set/Get the federate names and handles.
References federateHandlesPtr(), federateNamesPtr(), federateNamesSize(), rti1516e::insertBytes(), numFederates(), setFederateNamesSize(), and setNumFederates().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setFederateNameSize | ( | unsigned long | size | ) | [protected, virtual] |
Set/Get federate name size.
References DtNetJoinResponseMsg::federateNameSize, and netJoinResponseMsg().
Referenced by setMinSizes().
| void DtJoinResponseMsg::setFederateNamesSize | ( | unsigned long | size | ) | [virtual] |
Set/Get the federate names size.
References DtNetJoinResponseMsg::federateNamesSize, and netJoinResponseMsg().
Referenced by setFederateNamesAndHandles(), and setMinSizes().
| void DtJoinResponseMsg::setFedexHandleToUse | ( | unsigned short | handle | ) | [virtual] |
References DtNetJoinResponseMsg::fedexHandleToUse, and netJoinResponseMsg().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setFedExNameSize | ( | unsigned long | size | ) | [protected, virtual] |
Set/Get fedEx name size.
References DtNetJoinResponseMsg::fedExNameSize, and netJoinResponseMsg().
Referenced by setMinSizes().
| void DtJoinResponseMsg::setFlags | ( | unsigned long | value | ) | [virtual] |
Set/Get flags.
References DtNetJoinResponseMsg::flags, flags(), and netJoinResponseMsg().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setfomModuleNames | ( | const std::vector< MAKRti::DtString > & | moduleNames | ) | [virtual] |
Set/Get Fom Module Names.
References fomModuleNameSize(), fomModuleNamesPtr(), DtNetJoinResponseMsg::fomModuleNamesSize, rti1516e::insertBytes(), netJoinResponseMsg(), and DtNetJoinResponseMsg::numFomModules.
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setfomModuleNameSize | ( | unsigned long | size | ) | [protected, virtual] |
Set/Get fomModules Names Size.
References DtNetJoinResponseMsg::fomModuleNamesSize, and netJoinResponseMsg().
Referenced by setMinSizes().
| void DtJoinResponseMsg::setFullFedExName | ( | MAKRti::DtString const & | name | ) | [virtual] |
References fedExNamePtr(), DtNetJoinResponseMsg::fedExNameSize, fedExNameSize(), rti1516e::insertBytes(), and netJoinResponseMsg().
Referenced by DtJoinResponseMsg(), and set().
| int DtJoinResponseMsg::setMinSizes | ( | const MAKRti::DtString & | fedExNameVal, |
| const MAKRti::DtString & | federateNameVal, | ||
| const MAKRti::DtString & | timeImplNameVal, | ||
| const std::vector< MAKRti::DtString > & | fomModuleNamesVal, | ||
| const DtFederateNameAndHdlMap * | namesAndHdls, | ||
| const MAKRti::DtString & | errorString | ||
| ) | [protected, virtual] |
Sets the field sizes for the variant components and returns the minimum size needed for the message, including header DOES NOT allocate memory for the components.
References DtJoinResponseMsg(), setErrorStringSize(), setFederateNameSize(), setFederateNamesSize(), setFedExNameSize(), setfomModuleNameSize(), setNumFederates(), and setTimeImplNameSize().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setMomModuleName | ( | MAKRti::DtString const & | name | ) | [virtual] |
References rti1516e::insertBytes(), momModuleNamePtr(), DtNetJoinResponseMsg::momModuleNameSize, momModuleNameSize(), and netJoinResponseMsg().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setMomModuleNameSize | ( | unsigned long | size | ) | [protected, virtual] |
Set/Get MOM module name size.
References DtNetJoinResponseMsg::momModuleNameSize, and netJoinResponseMsg().
| void DtJoinResponseMsg::setNetworkTestEnabled | ( | bool | value | ) | [virtual] |
Set/Get whether network testing is currently enabled.
References netJoinResponseMsg(), and DtNetJoinResponseMsg::networkTestFlags.
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setNumFederates | ( | unsigned | num | ) | [virtual] |
References netJoinResponseMsg(), and DtNetJoinResponseMsg::numFederates.
Referenced by setFederateNamesAndHandles(), and setMinSizes().
| void DtJoinResponseMsg::setRequestID | ( | unsigned short | requestIDValue | ) | [virtual] |
References netJoinResponseMsg(), and DtNetJoinResponseMsg::requestID.
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setTimeImplName | ( | MAKRti::DtString const & | name | ) | [virtual] |
References rti1516e::insertBytes(), netJoinResponseMsg(), timeImplNamePtr(), DtNetJoinResponseMsg::timeImplNameSize, and timeImplNameSize().
Referenced by DtJoinResponseMsg(), and set().
| void DtJoinResponseMsg::setTimeImplNameSize | ( | unsigned long | size | ) | [protected, virtual] |
Set/Get time implementation name size.
References netJoinResponseMsg(), and DtNetJoinResponseMsg::timeImplNameSize.
Referenced by setMinSizes().
| MAKRti::DtString DtJoinResponseMsg::timeImplName | ( | ) | const [virtual] |
Set/Get time implementation name.
References timeImplNamePtr(), and timeImplNameSize().
Referenced by DtRtiExecFederateMgr::initializeFOM(), DtRtiExecFederateMgr::initializeTimeFactory(), and printData().
| char * DtJoinResponseMsg::timeImplNamePtr | ( | ) | [protected, virtual] |
References fedExNamePtr(), and fedExNameSize().
Referenced by federateNamePtr(), setTimeImplName(), and timeImplName().
| const char * DtJoinResponseMsg::timeImplNamePtr | ( | ) | const [protected, virtual] |
References fedExNamePtr(), and fedExNameSize().
| unsigned long DtJoinResponseMsg::timeImplNameSize | ( | ) | const [protected, virtual] |
References netJoinResponseMsg(), and DtNetJoinResponseMsg::timeImplNameSize.
Referenced by federateNamePtr(), setTimeImplName(), and timeImplName().
DtFederateHandleSet* DtJoinResponseMsg::mySet [protected] |
Our federate handle set.