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

List of all members.

Public Member Functions

 DtUnsubInterMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtUnsubInterMsg (DtInteractionClassHandle theInter, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 DtUnsubInterMsg (const DtNetUnsubInterMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual ~DtUnsubInterMsg ()
 Destructor.
virtual DtRtiMsg * clone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (DtInteractionClassHandle theInter, bool forSmartForwarding)
 Set all fields simultaneously.
virtual void setHandle (DtInteractionClassHandle hand)
 Set/Get handle.
virtual DtInteractionClassHandle handle () const
virtual void setForSmartForwarding (bool value)
 Set/Get whether this is an unsubscribe message for smart forwarding filtering.
virtual bool isForSmartForwarding () 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, DtUnsubInterCb cb, void *usr)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtUnsubInterCb cb, void *usr)

Protected Member Functions

virtual DtNetUnsubInterMsg * netUnsubInterMsg ()
 The network representation.
virtual const DtNetUnsubInterMsg * netUnsubInterMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an UnsubInter Msg.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual DtUnsubInterMsg * self () const
 Casts away const-ness.

Constructor & Destructor Documentation

DtUnsubInterMsg::DtUnsubInterMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

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

Referenced by clone(), and create().

DtUnsubInterMsg::DtUnsubInterMsg ( DtInteractionClassHandle  theInter,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtUnsubInterMsg::DtUnsubInterMsg ( const DtNetUnsubInterMsg *  netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Constructor.

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

Destructor.


Member Function Documentation

void DtUnsubInterMsg::addCallback ( DtConnectionMgr *  conn,
DtUnsubInterCb  cb,
void *  usr 
) [static]
DtRtiMsg * DtUnsubInterMsg::clone ( bool  copy = true) const [virtual]

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

Implements DtRtiMsg.

References DtUnsubInterMsg(), and netUnsubInterMsg().

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

Creator.

References DtUnsubInterMsg().

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

Creator.

References DtUnsubInterMsg().

Returns the kind of an UnsubInter Msg.

Implements DtRtiMsg.

References DtUnsubInterMsgKind.

Referenced by DtUnsubInterMsg().

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

Returns minimum size of a message, including header.

Referenced by DtUnsubInterMsg().

The network representation.

Referenced by clone(), handle(), isForSmartForwarding(), setForSmartForwarding(), and setHandle().

const DtNetUnsubInterMsg * DtUnsubInterMsg::netUnsubInterMsg ( ) const [protected, virtual]
void DtUnsubInterMsg::printData ( DtLogicalTimeFactory *  logicalTimeFactory) const [virtual]

Print the data section.

Reimplemented from DtRtiMsg.

References handle().

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

Casts away const-ness.

void DtUnsubInterMsg::set ( DtInteractionClassHandle  theInter,
bool  forSmartForwarding 
) [virtual]

Set all fields simultaneously.

References setForSmartForwarding(), and setHandle().

Referenced by DtInteractionMgr::sendUnsubscribeMsg().

void DtUnsubInterMsg::setForSmartForwarding ( bool  value) [virtual]

Set/Get whether this is an unsubscribe message for smart forwarding filtering.

References DtNetSubInterMsg::isForSmartForwarding, and netUnsubInterMsg().

Referenced by set().

Set/Get handle.

References DtNetSubInterMsg::handle, and netUnsubInterMsg().

Referenced by DtUnsubInterMsg(), 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)