MAK RTIspy API Documentation for HLA 1.3
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtReqDiscObjMsg Class Reference
+ Inheritance diagram for DtReqDiscObjMsg:
+ Collaboration diagram for DtReqDiscObjMsg:

List of all members.

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 DtRtiMsgclone (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 DtRtiMsgcreate (const DtNetMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creator.
static DtRtiMsgcreate (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 DtNetDiscObjMsgnetDiscObjMsg ()
 The network representation.
virtual const DtNetDiscObjMsgnetDiscObjMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an RegObj Msg.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual DtReqDiscObjMsgself () const
 Casts away const-ness.

Constructor & Destructor Documentation

DtReqDiscObjMsg::DtReqDiscObjMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

References DtRtiMsg::initDtRtiMsg(), internalDtRtiMsgKind(), and minSize().

Referenced by clone(), and create().

DtReqDiscObjMsg::DtReqDiscObjMsg ( DtObjectInstanceHandle  objHandleValue,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtReqDiscObjMsg::DtReqDiscObjMsg ( const DtNetDiscObjMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Constructor.

References DtNetDiscObjMsg::header, and DtRtiMsg::initDtRtiMsg().

Destructor.


Member Function Documentation

void DtReqDiscObjMsg::addCallback ( DtConnectionMgr conn,
DtReqDiscObjCb  cb,
void *  usr 
) [static]

Callback management.

References DtConnectionMgr::addMsgCallback(), and DtReqDiscObjMsgKind.

Referenced by DtObjectMgr::DtObjectMgr().

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().

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]
void DtReqDiscObjMsg::printData ( DtLogicalTimeFactory logicalTimeFactory) const [virtual]

Print the data section.

Reimplemented from DtRtiMsg.

References objHandle().

void DtReqDiscObjMsg::removeCallback ( DtConnectionMgr conn,
DtReqDiscObjCb  cb,
void *  usr 
) [static]
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().

Set/Get class handle.

References DtNetDiscObjMsg::classHandle, and netDiscObjMsg().

Referenced by set().

Set/Get object handle.

References netDiscObjMsg(), and DtNetDiscObjMsg::numObjHandles.

Referenced by DtReqDiscObjMsg(), and set().


The documentation for this class was generated from the following files:

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)