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

List of all members.

Public Member Functions

 DtForwarderConnectionLostMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtForwarderConnectionLostMsg (const DtNetForwarderConnectionLostMsg *netRep, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtForwarderConnectionLostMsg (unsigned int senderId, unsigned int lostId, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual ~DtForwarderConnectionLostMsg ()
 Destructor.
virtual DtRtiMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (unsigned int senderId, unsigned int lostId)
 Set all fields simultaneously.
virtual void setSenderId (unsigned int senderId)
 Set/Get the sender ID ( note ID is the forwarder's 16-bit Forwarder ID, not IP )
virtual unsigned int senderId () const
virtual void setLostId (unsigned int lostId)
 Set/Get the lost forwarder ID ( note ID is the forwarder's 16-bit Forwarder ID, not IP )
virtual unsigned int lostId () 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)
static void addCallback (DtConnectionMgr *conn, DtForwarderConnectionLostCb cb, void *usr, bool isMomCallback=false)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtForwarderConnectionLostCb cb, void *usr, bool isMomCallback=false)

Protected Member Functions

virtual
DtNetForwarderConnectionLostMsg
netForwarderConnectionLostMsg ()
 The network representation.
virtual const
DtNetForwarderConnectionLostMsg
netForwarderConnectionLostMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an Forwarder ConnectionLost Msg.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual
DtForwarderConnectionLostMsg
self () const
 Casts away const-ness.

Constructor & Destructor Documentation

DtForwarderConnectionLostMsg::DtForwarderConnectionLostMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

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

Referenced by clone(), and create().

DtForwarderConnectionLostMsg::DtForwarderConnectionLostMsg ( const DtNetForwarderConnectionLostMsg netRep,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtForwarderConnectionLostMsg::DtForwarderConnectionLostMsg ( unsigned int  senderId,
unsigned int  lostId,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

void DtForwarderConnectionLostMsg::addCallback ( DtConnectionMgr conn,
DtForwarderConnectionLostCb  cb,
void *  usr,
bool  isMomCallback = false 
) [static]
DtRtiMsg * DtForwarderConnectionLostMsg::clone ( bool  copy = true) const [virtual]

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

Implements DtRtiMsg.

References DtForwarderConnectionLostMsg(), and netForwarderConnectionLostMsg().

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

Creator.

References DtForwarderConnectionLostMsg().

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

Returns the kind of an Forwarder ConnectionLost Msg.

Implements DtRtiMsg.

References DtForwarderConnectionLostMsgKind.

Referenced by DtForwarderConnectionLostMsg().

unsigned int DtForwarderConnectionLostMsg::lostId ( ) const [virtual]
int DtForwarderConnectionLostMsg::minSize ( ) const [protected, virtual]

Returns minimum size of a message, including header.

Referenced by DtForwarderConnectionLostMsg().

The network representation.

Referenced by clone(), lostId(), senderId(), setLostId(), and setSenderId().

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

Print the data section.

Reimplemented from DtRtiMsg.

References lostId(), and senderId().

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

Casts away const-ness.

unsigned int DtForwarderConnectionLostMsg::senderId ( ) const [virtual]
void DtForwarderConnectionLostMsg::set ( unsigned int  senderId,
unsigned int  lostId 
) [virtual]

Set all fields simultaneously.

References setLostId(), and setSenderId().

void DtForwarderConnectionLostMsg::setLostId ( unsigned int  lostId) [virtual]

Set/Get the lost forwarder ID ( note ID is the forwarder's 16-bit Forwarder ID, not IP )

References DtNetForwarderConnectionLostMsg::lost, and netForwarderConnectionLostMsg().

Referenced by set().

void DtForwarderConnectionLostMsg::setSenderId ( unsigned int  senderId) [virtual]

Set/Get the sender ID ( note ID is the forwarder's 16-bit Forwarder ID, not IP )

References netForwarderConnectionLostMsg(), and DtNetForwarderConnectionLostMsg::sender.

Referenced by 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)