MAK RTIspy API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtDeleteRoMsg Class Reference

Message for sending receive order delete. More...

+ Inheritance diagram for DtDeleteRoMsg:
+ Collaboration diagram for DtDeleteRoMsg:

List of all members.

Public Member Functions

 DtDeleteRoMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtDeleteRoMsg (DtObjectInstanceHandle theObj, char const *theTag, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtDeleteRoMsg (const DtNetDeleteMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual ~DtDeleteRoMsg ()
 Destructor.
virtual DtRtiMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (DtObjectInstanceHandle theObj, char const *theTag)
 Set all fields simultaneously.
virtual void setId (DtObjectInstanceHandle id)
 Set/Get handle.
virtual DtObjectInstanceHandle id () 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, DtDeleteRoCb cb, void *usr)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtDeleteRoCb cb, void *usr)

Protected Member Functions

virtual DtNetDeleteMsgnetDeleteRoMsg ()
 The network representation.
virtual const DtNetDeleteMsgnetDeleteRoMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an Delete Msg.
virtual int minSize (char const *theTag=NULL) const
 Returns minimum size of a message, including header.
virtual void setTagSize (int size)
 Set/Get tag size.
virtual int tagSize () const
virtual char * tagPtr ()
 Returns pointer to the tag in the netMsg.
virtual DtDeleteRoMsgselfRo () const
 Casts away const-ness.

Detailed Description

Message for sending receive order delete.


Constructor & Destructor Documentation

DtDeleteRoMsg::DtDeleteRoMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)
DtDeleteRoMsg::DtDeleteRoMsg ( DtObjectInstanceHandle  theObj,
char const *  theTag,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtDeleteRoMsg::DtDeleteRoMsg ( const DtNetDeleteMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Constructor.

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

Destructor.


Member Function Documentation

void DtDeleteRoMsg::addCallback ( DtConnectionMgr conn,
DtDeleteRoCb  cb,
void *  usr 
) [static]

Callback management.

References DtConnectionMgr::addMsgCallback(), and DtDeleteRoMsgKind.

Referenced by DtObjectMgr::DtObjectMgr().

DtRtiMsg * DtDeleteRoMsg::clone ( bool  copy = true) const [virtual]

Return a copy/empty object of the same type as this.

Implements DtRtiMsg.

References DtDeleteRoMsg(), and netDeleteRoMsg().

DtRtiMsg * DtDeleteRoMsg::create ( const DtNetMsgHeader initial,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
) [static]

Creator.

References DtDeleteRoMsg().

DtRtiMsg * DtDeleteRoMsg::create ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER) [static]

Creator.

References DtDeleteRoMsg().

Implements DtDeleteMsg.

References DtNetDeleteMsg::id, and netDeleteRoMsg().

Referenced by DtObjectMgr::processDelete(), and setId().

Returns the kind of an Delete Msg.

Implements DtRtiMsg.

References DtDeleteRoMsgKind.

Referenced by DtDeleteRoMsg().

int DtDeleteRoMsg::minSize ( char const *  theTag = NULL) const [protected, virtual]

Returns minimum size of a message, including header.

Referenced by DtDeleteRoMsg().

DtNetDeleteMsg * DtDeleteRoMsg::netDeleteRoMsg ( ) [protected, virtual]

The network representation.

Referenced by clone(), id(), setId(), setTagSize(), tagPtr(), and tagSize().

const DtNetDeleteMsg * DtDeleteRoMsg::netDeleteRoMsg ( ) const [protected, virtual]
void DtDeleteRoMsg::printData ( DtLogicalTimeFactory logicalTimeFactory) const [virtual]

Print the data section.

Reimplemented from DtRtiMsg.

References DtDeleteMsg::tag().

void DtDeleteRoMsg::removeCallback ( DtConnectionMgr conn,
DtDeleteRoCb  cb,
void *  usr 
) [static]
DtDeleteRoMsg * DtDeleteRoMsg::selfRo ( ) const [inline, protected, virtual]

Casts away const-ness.

void DtDeleteRoMsg::set ( DtObjectInstanceHandle  theObj,
char const *  theTag 
) [virtual]

Set all fields simultaneously.

Referenced by DtObjectMgr::sendDeleteMsg().

Set/Get handle.

Implements DtDeleteMsg.

References DtNetDeleteMsg::id, id(), and netDeleteRoMsg().

Referenced by DtDeleteRoMsg().

void DtDeleteRoMsg::setTagSize ( int  size) [protected, virtual]

Set/Get tag size.

Implements DtDeleteMsg.

References netDeleteRoMsg(), and DtNetDeleteMsg::tagSize.

char * DtDeleteRoMsg::tagPtr ( ) [protected, virtual]

Returns pointer to the tag in the netMsg.

Implements DtDeleteMsg.

References netDeleteRoMsg(), and tagSize().

int DtDeleteRoMsg::tagSize ( ) const [protected, virtual]

Implements DtDeleteMsg.

References netDeleteRoMsg(), and DtNetDeleteMsg::tagSize.

Referenced by tagPtr().


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)