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

List of all members.

Public Member Functions

 DtSubInterMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtSubInterMsg (DtInteractionClassHandle theInter, bool isPassive, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 DtSubInterMsg (const DtNetSubInterMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual ~DtSubInterMsg ()
 Destructor.
virtual DtRtiMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (DtInteractionClassHandle theInter, bool isPassive)
 Set all fields simultaneously.
virtual void setHandle (DtInteractionClassHandle hand)
 Set/Get handle.
virtual DtInteractionClassHandle handle () const
virtual void setPassive (bool isPassive)
 Set/Get isPassive (is this a passive (or active) subscription)
virtual bool isPassive () 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, DtSubInterCb cb, void *usr)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtSubInterCb cb, void *usr)

Protected Member Functions

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

Constructor & Destructor Documentation

DtSubInterMsg::DtSubInterMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

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

Referenced by clone(), and create().

DtSubInterMsg::DtSubInterMsg ( DtInteractionClassHandle  theInter,
bool  isPassive,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtSubInterMsg::DtSubInterMsg ( const DtNetSubInterMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Constructor.

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

Destructor.


Member Function Documentation

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

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

Implements DtRtiMsg.

References DtSubInterMsg(), and netSubInterMsg().

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

Creator.

References DtSubInterMsg().

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

Creator.

References DtSubInterMsg().

Returns the kind of an SubInter Msg.

Implements DtRtiMsg.

References DtSubInterMsgKind.

Referenced by DtSubInterMsg().

bool DtSubInterMsg::isPassive ( ) const [virtual]
int DtSubInterMsg::minSize ( ) const [protected, virtual]

Returns minimum size of a message, including header.

Referenced by DtSubInterMsg().

DtNetSubInterMsg * DtSubInterMsg::netSubInterMsg ( ) [protected, virtual]

The network representation.

Referenced by clone(), handle(), isPassive(), setHandle(), and setPassive().

const DtNetSubInterMsg * DtSubInterMsg::netSubInterMsg ( ) const [protected, virtual]
void DtSubInterMsg::printData ( DtLogicalTimeFactory logicalTimeFactory) const [virtual]

Print the data section.

Reimplemented from DtRtiMsg.

References handle().

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

Casts away const-ness.

void DtSubInterMsg::set ( DtInteractionClassHandle  theInter,
bool  isPassive 
) [virtual]

Set all fields simultaneously.

References setHandle(), and setPassive().

Referenced by DtInteractionMgr::sendSubscribeMsg().

Set/Get handle.

References DtNetSubInterMsg::handle, and netSubInterMsg().

Referenced by DtSubInterMsg(), and set().

void DtSubInterMsg::setPassive ( bool  isPassive) [virtual]

Set/Get isPassive (is this a passive (or active) subscription)

References DtNetSubInterMsg::isPassive, isPassive(), and netSubInterMsg().

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