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

List of all members.

Public Member Functions

 DtPubInterMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtPubInterMsg (DtInteractionClassHandle theInter, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 DtPubInterMsg (const DtNetPubInterMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual ~DtPubInterMsg ()
 Destructor.
virtual DtRtiMsg * clone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (DtInteractionClassHandle theInter)
 Set all fields simultaneously.
virtual void setHandle (DtInteractionClassHandle hand)
 Set/Get handle.
virtual DtInteractionClassHandle handle () 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, DtPubInterCb cb, void *usr)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtPubInterCb cb, void *usr)

Protected Member Functions

virtual DtNetPubInterMsg * netPubInterMsg ()
 The network representation.
virtual const DtNetPubInterMsg * netPubInterMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an PubInter Msg.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual DtPubInterMsg * self () const
 Casts away const-ness.

Constructor & Destructor Documentation

DtPubInterMsg::DtPubInterMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

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

Referenced by clone(), and create().

DtPubInterMsg::DtPubInterMsg ( DtInteractionClassHandle  theInter,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtPubInterMsg::DtPubInterMsg ( const DtNetPubInterMsg *  netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Constructor.

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

Destructor.


Member Function Documentation

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

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

Implements DtRtiMsg.

References DtPubInterMsg(), and netPubInterMsg().

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

Creator.

References DtPubInterMsg().

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

Creator.

References DtPubInterMsg().

Returns the kind of an PubInter Msg.

Implements DtRtiMsg.

References DtPubInterMsgKind.

Referenced by DtPubInterMsg().

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

Returns minimum size of a message, including header.

Referenced by DtPubInterMsg().

DtNetPubInterMsg * DtPubInterMsg::netPubInterMsg ( ) [protected, virtual]

The network representation.

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

const DtNetPubInterMsg * DtPubInterMsg::netPubInterMsg ( ) const [protected, virtual]
void DtPubInterMsg::printData ( DtLogicalTimeFactory *  logicalTimeFactory) const [virtual]

Print the data section.

Reimplemented from DtRtiMsg.

References handle().

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

Casts away const-ness.

void DtPubInterMsg::set ( DtInteractionClassHandle  theInter) [virtual]

Set all fields simultaneously.

References setHandle().

Referenced by DtInteractionMgr::sendPublishMsg().

Set/Get handle.

References DtNetPubInterMsg::handle, and netPubInterMsg().

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