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

List of all members.

Public Member Functions

 DtAliveMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtAliveMsg (const DtNetAliveMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual ~DtAliveMsg ()
 Destructor.
virtual DtRtiMsg * clone (bool copy=true) const
 Return a copy/empty object of the same type as this.
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)
static void addCallback (DtConnectionMgr *conn, DtAliveCb cb, void *usr, bool isMomCallback=false)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtAliveCb cb, void *usr, bool isMomCallback=false)

Protected Member Functions

virtual DtNetAliveMsg * netAliveMsg ()
 The network representation.
virtual const DtNetAliveMsg * netAliveMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an Alive Msg.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual DtAliveMsg * self () const
 Casts away const-ness.

Constructor & Destructor Documentation

DtAliveMsg::DtAliveMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

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

Referenced by clone(), and create().

DtAliveMsg::DtAliveMsg ( const DtNetAliveMsg *  netRep,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Constructor.

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

DtAliveMsg::~DtAliveMsg ( ) [virtual]

Destructor.


Member Function Documentation

void DtAliveMsg::addCallback ( DtConnectionMgr *  conn,
DtAliveCb  cb,
void *  usr,
bool  isMomCallback = false 
) [static]

Callback management.

References DtConnectionMgr::addMsgCallback(), and DtAliveMsgKind.

Referenced by DtFedExec::DtFedExec().

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

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

Implements DtRtiMsg.

References DtAliveMsg(), and netAliveMsg().

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

Creator.

References DtAliveMsg().

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

References DtAliveMsg().

Returns the kind of an Alive Msg.

Implements DtRtiMsg.

References DtAliveMsgKind.

Referenced by DtAliveMsg().

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

Returns minimum size of a message, including header.

Referenced by DtAliveMsg().

DtNetAliveMsg * DtAliveMsg::netAliveMsg ( ) [protected, virtual]

The network representation.

Referenced by clone().

const DtNetAliveMsg * DtAliveMsg::netAliveMsg ( ) const [protected, virtual]
void DtAliveMsg::printData ( DtLogicalTimeFactory *  logicalTimeFactory) const [virtual]

Print the data section.

Reimplemented from DtRtiMsg.

void DtAliveMsg::removeCallback ( DtConnectionMgr *  conn,
DtAliveCb  cb,
void *  usr,
bool  isMomCallback = false 
) [static]
DtAliveMsg * DtAliveMsg::self ( ) const [inline, protected, virtual]

Casts away const-ness.


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)