MAK RTIspy API Documentation for HLA 1516
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtAssistantExitMsg Class Reference

The DtAssistantExitMsg defines a wrapper for the RTI Assistant exit message used by the Assistant to command an RTI component to resign and/or exit. More...

+ Inheritance diagram for DtAssistantExitMsg:
+ Collaboration diagram for DtAssistantExitMsg:

List of all members.

Public Member Functions

 DtAssistantExitMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructors.
 DtAssistantExitMsg (const DtNetAssistantExitMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
virtual ~DtAssistantExitMsg ()
 Destructor.
virtual DtAssistantMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual void printData () const
 Print the data section.

Static Public Member Functions

static DtAssistantMsgcreate (const DtNetAssistantMsgHeader *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Creators.
static DtAssistantMsgcreate (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
static void addCallback (DtRtiAssistantClient *conn, DtAssistantExitCb cb, void *usr)
 Adds or removes a callback with the given Assistant client for this message type.
static void removeCallback (DtRtiAssistantClient *conn, DtAssistantExitCb cb, void *usr)
static void addCallback (DtRtiAssistantPeer *conn, DtAssistantExitCb cb, void *usr)
 Adds or removes a callback with the given Assistant peer for this message type.
static void removeCallback (DtRtiAssistantPeer *conn, DtAssistantExitCb cb, void *usr)

Protected Member Functions

virtual DtNetAssistantExitMsgnetAssistantExitMsg ()
 The network representation for the exit message.
virtual const
DtNetAssistantExitMsg
netAssistantExitMsg () const
virtual DtAssistantMsgKind internalMsgKind ()
 Returns the kind of a DtAssistantExitMsg message.
virtual int minSize () const
 Returns minimum size of a message, including header.

Detailed Description

The DtAssistantExitMsg defines a wrapper for the RTI Assistant exit message used by the Assistant to command an RTI component to resign and/or exit.


Constructor & Destructor Documentation

DtAssistantExitMsg::DtAssistantExitMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructors.

References DtAssistantMsg::initAssistantMsg(), internalMsgKind(), and minSize().

Referenced by clone(), and create().

DtAssistantExitMsg::DtAssistantExitMsg ( const DtNetAssistantExitMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

void DtAssistantExitMsg::addCallback ( DtRtiAssistantClient conn,
DtAssistantExitCb  cb,
void *  usr 
) [static]
void DtAssistantExitMsg::addCallback ( DtRtiAssistantPeer conn,
DtAssistantExitCb  cb,
void *  usr 
) [static]

Adds or removes a callback with the given Assistant peer for this message type.

References DtRtiAssistantPeer::addMsgCallback(), and DtAssistantExitMsgKind.

DtAssistantMsg * DtAssistantExitMsg::clone ( bool  copy = true) const [virtual]

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

Implements DtAssistantMsg.

References DtAssistantExitMsg(), and netAssistantExitMsg().

DtAssistantMsg * DtAssistantExitMsg::create ( const DtNetAssistantMsgHeader initial,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
) [static]

Creators.

References DtAssistantExitMsg().

DtAssistantMsg * DtAssistantExitMsg::create ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER) [static]

References DtAssistantExitMsg().

Returns the kind of a DtAssistantExitMsg message.

Implements DtAssistantMsg.

References DtAssistantExitMsgKind.

Referenced by DtAssistantExitMsg().

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

Returns minimum size of a message, including header.

Referenced by DtAssistantExitMsg().

The network representation for the exit message.

Referenced by clone().

const DtNetAssistantExitMsg * DtAssistantExitMsg::netAssistantExitMsg ( ) const [protected, virtual]
void DtAssistantExitMsg::printData ( ) const [virtual]

Print the data section.

Reimplemented from DtAssistantMsg.

void DtAssistantExitMsg::removeCallback ( DtRtiAssistantClient conn,
DtAssistantExitCb  cb,
void *  usr 
) [static]
void DtAssistantExitMsg::removeCallback ( DtRtiAssistantPeer conn,
DtAssistantExitCb  cb,
void *  usr 
) [static]

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)