![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for DtCreateResponseMsg:
Collaboration diagram for DtCreateResponseMsg:Public Member Functions | |
| DtCreateResponseMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtCreateResponseMsg (unsigned long ID, DtCreateResponseFlag flag, MAKRti::DtString const &errorString, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtCreateResponseMsg (const DtNetCreateResponseMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtCreateResponseMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (unsigned long ID, DtCreateResponseFlag flag, MAKRti::DtString const &errorString) |
| Set all parameters simultaneously. | |
| void | setDestinationID (const unsigned long ID) |
| Set/Get Destination Federate ID. | |
| const unsigned long | destinationID () const |
| void | setResponseFlag (DtCreateResponseFlag flag) |
| Set/Get response flag. | |
| DtCreateResponseFlag | responseFlag () const |
| virtual void | printData (DtLogicalTimeFactory *logicalTimeFactory) const |
| Print the data section. | |
| void | setErrorString (MAKRti::DtString const &errorStr) |
| MAKRti::DtString | errorString () const |
| char * | errorStringPtr () |
| const char * | errorStringPtr () const |
| void | setErrorStringSize (unsigned long size) |
| unsigned long | errorStringSize () const |
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, DtCreateResponseCb cb, void *usr) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtCreateResponseCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetCreateResponseMsg * | netCreateResponseMsg () |
| The network representation. | |
| virtual const DtNetCreateResponseMsg * | netCreateResponseMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an CreateResponse Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtCreateResponseMsg * | self () const |
| Casts away const-ness. | |
| DtCreateResponseMsg::DtCreateResponseMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtCreateResponseMsg::DtCreateResponseMsg | ( | unsigned long | ID, |
| DtCreateResponseFlag | flag, | ||
| MAKRti::DtString const & | errorString, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
| DtCreateResponseMsg::DtCreateResponseMsg | ( | const DtNetCreateResponseMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetCreateResponseMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtCreateResponseMsg::~DtCreateResponseMsg | ( | ) | [virtual] |
Destructor.
| void DtCreateResponseMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtCreateResponseCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtCreateResponseMsgKind.
Referenced by DtRtiExecFederateMgr::createFederationExecution().
| DtRtiMsg * DtCreateResponseMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtCreateResponseMsg(), and netCreateResponseMsg().
| DtRtiMsg * DtCreateResponseMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtCreateResponseMsg().
| DtRtiMsg * DtCreateResponseMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
Creator.
References DtCreateResponseMsg().
| const unsigned long DtCreateResponseMsg::destinationID | ( | ) | const |
References DtNetCreateResponseMsg::destinationID, and netCreateResponseMsg().
Referenced by printData(), and DtRtiExecFederateMgr::processCreateResponseMsg().
| MAKRti::DtString DtCreateResponseMsg::errorString | ( | ) | const |
References errorStringPtr(), and errorStringSize().
Referenced by DtRtiExecFederateMgr::processCreateResponseMsg().
| char * DtCreateResponseMsg::errorStringPtr | ( | ) |
References netCreateResponseMsg().
Referenced by errorString(), and setErrorString().
| const char * DtCreateResponseMsg::errorStringPtr | ( | ) | const |
References netCreateResponseMsg().
| unsigned long DtCreateResponseMsg::errorStringSize | ( | ) | const |
References DtNetCreateResponseMsg::errorStringSize, and netCreateResponseMsg().
Referenced by errorString(), and setErrorString().
| DtRtiMsgKind DtCreateResponseMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an CreateResponse Msg.
Implements DtRtiMsg.
References DtCreateResponseMsgKind.
Referenced by DtCreateResponseMsg().
| int DtCreateResponseMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtCreateResponseMsg().
| DtNetCreateResponseMsg * DtCreateResponseMsg::netCreateResponseMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by clone(), destinationID(), errorStringPtr(), errorStringSize(), responseFlag(), setDestinationID(), setErrorString(), setErrorStringSize(), and setResponseFlag().
| const DtNetCreateResponseMsg * DtCreateResponseMsg::netCreateResponseMsg | ( | ) | const [protected, virtual] |
| void DtCreateResponseMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
Print the data section.
Reimplemented from DtRtiMsg.
References destinationID(), and responseFlag().
| void DtCreateResponseMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtCreateResponseCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtCreateResponseMsgKind, and DtConnectionMgr::removeMsgCallback().
Referenced by DtRtiExecFederateMgr::createFederationExecution().
References netCreateResponseMsg().
Referenced by printData(), and DtRtiExecFederateMgr::processCreateResponseMsg().
| DtCreateResponseMsg * DtCreateResponseMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtCreateResponseMsg::set | ( | unsigned long | ID, |
| DtCreateResponseFlag | flag, | ||
| MAKRti::DtString const & | errorString | ||
| ) | [virtual] |
Set all parameters simultaneously.
References setDestinationID(), setErrorString(), and setResponseFlag().
Referenced by DtFedExec::processCreateReady(), and DtRtiExec::sendCreateResponseMsg().
| void DtCreateResponseMsg::setDestinationID | ( | const unsigned long | ID | ) |
Set/Get Destination Federate ID.
References DtNetCreateResponseMsg::destinationID, and netCreateResponseMsg().
Referenced by DtCreateResponseMsg(), and set().
| void DtCreateResponseMsg::setErrorString | ( | MAKRti::DtString const & | errorStr | ) |
References errorStringPtr(), DtNetCreateResponseMsg::errorStringSize, errorStringSize(), rti1516e::insertBytes(), and netCreateResponseMsg().
Referenced by DtCreateResponseMsg(), and set().
| void DtCreateResponseMsg::setErrorStringSize | ( | unsigned long | size | ) |
References DtNetCreateResponseMsg::errorStringSize, and netCreateResponseMsg().
| void DtCreateResponseMsg::setResponseFlag | ( | DtCreateResponseFlag | flag | ) |
Set/Get response flag.
References netCreateResponseMsg(), and DtNetCreateResponseMsg::respFlag.
Referenced by DtCreateResponseMsg(), and set().