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

List of all members.

Public Member Functions

 DtDestroyResponseMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
 DtDestroyResponseMsg (const char *fedExName, DtDestroyResponseFlag flag, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 DtDestroyResponseMsg (const DtNetDestroyResponseMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructor.
virtual DtRtiMsg * clone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual ~DtDestroyResponseMsg ()
 Destructor.
virtual void set (const char *fedExName, DtDestroyResponseFlag flag)
 Set all fields simultaneously.
void setResponseFlag (DtDestroyResponseFlag flag)
 Set/Get response flag.
DtDestroyResponseFlag responseFlag () const
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, DtDestroyResponseCb cb, void *usr)
 Callback management.
static void removeCallback (DtConnectionMgr *conn, DtDestroyResponseCb cb, void *usr)

Protected Member Functions

virtual DtNetDestroyResponseMsg * netDestroyResponseMsg ()
 The network representation.
virtual const
DtNetDestroyResponseMsg * 
netDestroyResponseMsg () const
virtual DtRtiMsgKind internalDtRtiMsgKind ()
 Returns the kind of an DestroyResponse Msg.
virtual int minSize () const
 Returns minimum size of a message, including header.
virtual DtDestroyResponseMsg * self () const
 Casts away const-ness.

Constructor & Destructor Documentation

DtDestroyResponseMsg::DtDestroyResponseMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructor.

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

Referenced by clone(), and create().

DtDestroyResponseMsg::DtDestroyResponseMsg ( const char *  fedExName,
DtDestroyResponseFlag  flag,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)
DtDestroyResponseMsg::DtDestroyResponseMsg ( const DtNetDestroyResponseMsg *  netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Constructor.

References DtNetDestroyResponseMsg::header.

Destructor.


Member Function Documentation

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

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

Implements DtRtiMsg.

References DtDestroyResponseMsg(), and netDestroyResponseMsg().

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

Creator.

References DtDestroyResponseMsg().

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

Creator.

References DtDestroyResponseMsg().

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

Returns the kind of an DestroyResponse Msg.

Implements DtRtiMsg.

References DtDestroyResponseMsgKind.

Referenced by DtDestroyResponseMsg().

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

Returns minimum size of a message, including header.

Referenced by DtDestroyResponseMsg().

The network representation.

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

void DtDestroyResponseMsg::printData ( DtLogicalTimeFactory *  logicalTimeFactory) const [virtual]

Print the data section.

Reimplemented from DtRtiMsg.

References fullFedExName(), and responseFlag().

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

Casts away const-ness.

void DtDestroyResponseMsg::set ( const char *  fedExName,
DtDestroyResponseFlag  flag 
) [virtual]

Set all fields simultaneously.

References setFullFedExName(), and setResponseFlag().

Referenced by DtRtiExec::sendDestroyResponseMsg().

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

Set/Get full name of federation execution.

References DtNetDestroyResponseMsg::fullFedExName, fullFedExName(), and netDestroyResponseMsg().

Referenced by DtDestroyResponseMsg(), and set().

Set/Get response flag.

References netDestroyResponseMsg(), and DtNetDestroyResponseMsg::respFlag.

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