MAK RTIspy API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtUnpubObjMsg Class Reference
+ Inheritance diagram for DtUnpubObjMsg:
+ Collaboration diagram for DtUnpubObjMsg:

List of all members.

Public Member Functions

 DtUnpubObjMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtUnpubObjMsg (DtObjectClassHandle theObj, const DtAttributeHandleSet &theSet, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 DtUnpubObjMsg (const DtNetUnpubObjMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual ~DtUnpubObjMsg ()
 Destructor.
virtual DtRtiMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (DtObjectClassHandle theObj, const DtAttributeHandleSet &theSet)
 Set all fields simultaneously.
virtual void setObjectClassHandle (DtObjectClassHandle hand)
 Set/Get handle.
virtual DtObjectClassHandle objectClassHandle () const
virtual void setAttrHandles (const DtAttributeHandleSet &attrs)
 Set/Get attribute handles.
virtual const
DtAttributeHandleSet
attrHandles () 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, DtUnpubObjCb cb, void *usr)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtUnpubObjCb cb, void *usr)

Protected Member Functions

virtual DtNetUnpubObjMsgnetUnpubObjMsg ()
 The network representation.
virtual const DtNetUnpubObjMsgnetUnpubObjMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an UnpubObj Msg.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual DtUnpubObjMsgself () const
 Casts away const-ness.

Protected Attributes

int myDirty
DtAttributeHandleSetmyAttrs

Constructor & Destructor Documentation

DtUnpubObjMsg::DtUnpubObjMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

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

Referenced by clone(), and create().

DtUnpubObjMsg::DtUnpubObjMsg ( DtObjectClassHandle  theObj,
const DtAttributeHandleSet theSet,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtUnpubObjMsg::DtUnpubObjMsg ( const DtNetUnpubObjMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Constructor.

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

Destructor.


Member Function Documentation

void DtUnpubObjMsg::addCallback ( DtConnectionMgr conn,
DtUnpubObjCb  cb,
void *  usr 
) [static]

Callback management.

References DtConnectionMgr::addMsgCallback(), and DtUnpubObjMsgKind.

Referenced by DtObjectMgr::DtObjectMgr().

const DtAttributeHandleSet & DtUnpubObjMsg::attrHandles ( ) const [virtual]
DtRtiMsg * DtUnpubObjMsg::clone ( bool  copy = true) const [virtual]

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

Implements DtRtiMsg.

References DtUnpubObjMsg(), and netUnpubObjMsg().

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

Creator.

References DtUnpubObjMsg().

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

Creator.

References DtUnpubObjMsg().

Returns the kind of an UnpubObj Msg.

Implements DtRtiMsg.

References DtUnpubObjMsgKind.

Referenced by DtUnpubObjMsg().

int DtUnpubObjMsg::minSize ( ) const [protected, virtual]

Returns minimum size of a message, including header.

Referenced by DtUnpubObjMsg().

DtNetUnpubObjMsg * DtUnpubObjMsg::netUnpubObjMsg ( ) [protected, virtual]

The network representation.

Referenced by attrHandles(), clone(), objectClassHandle(), setAttrHandles(), and setObjectClassHandle().

const DtNetUnpubObjMsg * DtUnpubObjMsg::netUnpubObjMsg ( ) const [protected, virtual]

References DtNetUnpubObjMsg::handle, and netUnpubObjMsg().

Referenced by printData().

void DtUnpubObjMsg::printData ( DtLogicalTimeFactory logicalTimeFactory) const [virtual]

Print the data section.

Reimplemented from DtRtiMsg.

References attrHandles(), objectClassHandle(), and DtAttributeHandleSet::print().

void DtUnpubObjMsg::removeCallback ( DtConnectionMgr conn,
DtUnpubObjCb  cb,
void *  usr 
) [static]
DtUnpubObjMsg * DtUnpubObjMsg::self ( ) const [inline, protected, virtual]

Casts away const-ness.

void DtUnpubObjMsg::set ( DtObjectClassHandle  theObj,
const DtAttributeHandleSet theSet 
) [virtual]

Set all fields simultaneously.

References setAttrHandles(), and setObjectClassHandle().

Referenced by DtObjectMgr::sendUnpublishMsg().

void DtUnpubObjMsg::setAttrHandles ( const DtAttributeHandleSet attrs) [virtual]

Set/Get attribute handles.

References myDirty, and netUnpubObjMsg().

Referenced by DtUnpubObjMsg(), and set().

Set/Get handle.

References DtNetUnpubObjMsg::handle, and netUnpubObjMsg().

Referenced by DtUnpubObjMsg(), and set().


Member Data Documentation

Referenced by attrHandles().

int DtUnpubObjMsg::myDirty [protected]

Referenced by attrHandles(), and setAttrHandles().


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)