![]() |
MAK RTIspy API Documentation for HLA Evolved
|
Inheritance diagram for DtReqDiscObjMsg:
Collaboration diagram for DtReqDiscObjMsg:Public Member Functions | |
| DtReqDiscObjMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| DtReqDiscObjMsg (DtObjectInstanceHandle objHandleValue, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtReqDiscObjMsg (const DtNetDiscObjMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructor. | |
| virtual | ~DtReqDiscObjMsg () |
| Destructor. | |
| virtual DtRtiMsg * | clone (bool copy=true) const |
| Return a copy/empty object of the same type as this. | |
| virtual void | set (DtObjectInstanceHandle objHandleValue, DtObjectClassHandle classHandleValue) |
| Set all fields simultaneously. | |
| virtual void | setObjHandle (DtObjectInstanceHandle id) |
| Set/Get object handle. | |
| virtual DtObjectInstanceHandle | objHandle () const |
| virtual void | setClassHandle (DtObjectClassHandle hand) |
| Set/Get class handle. | |
| virtual DtObjectClassHandle | classHandle () const |
| 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, DtReqDiscObjCb cb, void *usr) |
| Callback management. | |
| static void | removeCallback (DtConnectionMgr *conn, DtReqDiscObjCb cb, void *usr) |
Protected Member Functions | |
| virtual DtNetDiscObjMsg * | netDiscObjMsg () |
| The network representation. | |
| virtual const DtNetDiscObjMsg * | netDiscObjMsg () const |
| virtual DtRtiMsgKind | internalDtRtiMsgKind () |
| Returns the kind of an RegObj Msg. | |
| virtual int | minSize () const |
| Returns minimum size of a message, including header. | |
| virtual DtReqDiscObjMsg * | self () const |
| Casts away const-ness. | |
| DtReqDiscObjMsg::DtReqDiscObjMsg | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
Constructor.
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().
| DtReqDiscObjMsg::DtReqDiscObjMsg | ( | DtObjectInstanceHandle | objHandleValue, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), minSize(), and setObjHandle().
| DtReqDiscObjMsg::DtReqDiscObjMsg | ( | const DtNetDiscObjMsg * | netRepMsg, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
Constructor.
References DtNetDiscObjMsg::header, and DtRtiMsg::initDtRtiMsg().
| DtReqDiscObjMsg::~DtReqDiscObjMsg | ( | ) | [virtual] |
Destructor.
| void DtReqDiscObjMsg::addCallback | ( | DtConnectionMgr * | conn, |
| DtReqDiscObjCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Callback management.
References DtConnectionMgr::addMsgCallback(), and DtReqDiscObjMsgKind.
Referenced by DtObjectMgr::DtObjectMgr().
| DtObjectInstanceHandle DtReqDiscObjMsg::classHandle | ( | ) | const [virtual] |
References DtNetDiscObjMsg::classHandle, and netDiscObjMsg().
| DtRtiMsg * DtReqDiscObjMsg::clone | ( | bool | copy = true | ) | const [virtual] |
Return a copy/empty object of the same type as this.
Implements DtRtiMsg.
References DtReqDiscObjMsg(), and netDiscObjMsg().
| DtRtiMsg * DtReqDiscObjMsg::create | ( | const DtNetMsgHeader * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Creator.
References DtReqDiscObjMsg().
| DtRtiMsg * DtReqDiscObjMsg::create | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) | [static] |
Creator.
References DtReqDiscObjMsg().
| DtRtiMsgKind DtReqDiscObjMsg::internalDtRtiMsgKind | ( | ) | [protected, virtual] |
Returns the kind of an RegObj Msg.
Implements DtRtiMsg.
References DtReqDiscObjMsgKind.
Referenced by DtReqDiscObjMsg().
| int DtReqDiscObjMsg::minSize | ( | ) | const [protected, virtual] |
Returns minimum size of a message, including header.
Referenced by DtReqDiscObjMsg().
| DtNetDiscObjMsg * DtReqDiscObjMsg::netDiscObjMsg | ( | ) | [protected, virtual] |
The network representation.
Referenced by classHandle(), clone(), objHandle(), setClassHandle(), and setObjHandle().
| const DtNetDiscObjMsg * DtReqDiscObjMsg::netDiscObjMsg | ( | ) | const [protected, virtual] |
| DtObjectInstanceHandle DtReqDiscObjMsg::objHandle | ( | ) | const [virtual] |
References netDiscObjMsg(), and DtNetDiscObjMsg::numObjHandles.
Referenced by printData(), and DtObjectMgr::processRequestDiscover().
| void DtReqDiscObjMsg::printData | ( | DtLogicalTimeFactory * | logicalTimeFactory | ) | const [virtual] |
| void DtReqDiscObjMsg::removeCallback | ( | DtConnectionMgr * | conn, |
| DtReqDiscObjCb | cb, | ||
| void * | usr | ||
| ) | [static] |
References DtReqDiscObjMsgKind, and DtConnectionMgr::removeMsgCallback().
Referenced by DtObjectMgr::~DtObjectMgr().
| DtReqDiscObjMsg * DtReqDiscObjMsg::self | ( | ) | const [inline, protected, virtual] |
Casts away const-ness.
| void DtReqDiscObjMsg::set | ( | DtObjectInstanceHandle | objHandleValue, |
| DtObjectClassHandle | classHandleValue | ||
| ) | [virtual] |
Set all fields simultaneously.
References setClassHandle(), and setObjHandle().
Referenced by DtObjectMgr::sendRequestDiscoverMsg().
| void DtReqDiscObjMsg::setClassHandle | ( | DtObjectClassHandle | hand | ) | [virtual] |
Set/Get class handle.
References DtNetDiscObjMsg::classHandle, and netDiscObjMsg().
Referenced by set().
| void DtReqDiscObjMsg::setObjHandle | ( | DtObjectInstanceHandle | id | ) | [virtual] |
Set/Get object handle.
References netDiscObjMsg(), and DtNetDiscObjMsg::numObjHandles.
Referenced by DtReqDiscObjMsg(), and set().