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

List of all members.

Public Member Functions

 DtDestroyMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtDestroyMsg (const char *fedExName, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 DtDestroyMsg (const DtNetDestroyMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual ~DtDestroyMsg ()
 Destructor.
virtual DtRtiMsg * clone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void set (const char *fedExName)
 Set all fields simultaneously.
virtual void setFullFedExName (const MAKRti::DtString &name)
 Set/Get full name of federation execution.
virtual const MAKRti::DtString fullFedExName () 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, DtDestroyCb cb, void *usr)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtDestroyCb cb, void *usr)

Protected Member Functions

virtual DtNetDestroyMsg * netDestroyMsg ()
 The network representation.
virtual const DtNetDestroyMsg * netDestroyMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an Destroy Msg.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual DtDestroyMsg * self () const
 Casts away const-ness.

Constructor & Destructor Documentation

DtDestroyMsg::DtDestroyMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

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

Referenced by clone(), and create().

DtDestroyMsg::DtDestroyMsg ( const char *  fedExName,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtDestroyMsg::DtDestroyMsg ( const DtNetDestroyMsg *  netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Constructor.

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

Destructor.


Member Function Documentation

void DtDestroyMsg::addCallback ( DtConnectionMgr *  conn,
DtDestroyCb  cb,
void *  usr 
) [static]

Callback management.

References DtConnectionMgr::addMsgCallback(), and DtDestroyMsgKind.

Referenced by DtRtiExec::DtRtiExec().

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

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

Implements DtRtiMsg.

References DtDestroyMsg(), and netDestroyMsg().

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

Creator.

References DtDestroyMsg().

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

Creator.

References DtDestroyMsg().

const MAKRti::DtString DtDestroyMsg::fullFedExName ( ) const [virtual]

Returns the kind of an Destroy Msg.

Implements DtRtiMsg.

References DtDestroyMsgKind.

Referenced by DtDestroyMsg().

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

Returns minimum size of a message, including header.

Referenced by DtDestroyMsg().

DtNetDestroyMsg * DtDestroyMsg::netDestroyMsg ( ) [protected, virtual]

The network representation.

Referenced by clone(), fullFedExName(), and setFullFedExName().

const DtNetDestroyMsg * DtDestroyMsg::netDestroyMsg ( ) const [protected, virtual]
void DtDestroyMsg::printData ( DtLogicalTimeFactory *  logicalTimeFactory) const [virtual]

Print the data section.

Reimplemented from DtRtiMsg.

References fullFedExName().

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

Casts away const-ness.

void DtDestroyMsg::set ( const char *  fedExName) [virtual]

Set all fields simultaneously.

References setFullFedExName().

Referenced by DtRtiExecFederateMgr::sendDestroyMsg().

void DtDestroyMsg::setFullFedExName ( const MAKRti::DtString &  name) [virtual]

Set/Get full name of federation execution.

References DtNetDestroyMsg::fullFedExName, fullFedExName(), and netDestroyMsg().

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