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

The DtAssistantLogRequestMsg defines a wrapper for the RTI Assistant message used by the Assistant to request a full log from an rtiexec. More...

+ Inheritance diagram for DtAssistantLogRequestMsg:
+ Collaboration diagram for DtAssistantLogRequestMsg:

List of all members.

Public Member Functions

 DtAssistantLogRequestMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructors.
 DtAssistantLogRequestMsg (const DtNetAssistantLogRequestMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
virtual ~DtAssistantLogRequestMsg ()
 Destructor.
virtual DtAssistantMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual unsigned maxLogSize () const
 Get the maximum size for the log response message.
virtual void setMaxLogSize (unsigned size)
 Set the maximum size for the log response message.
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, DtAssistantLogRequestCb cb, void *usr)
 Adds or removes a callback with the given Assistant client for this message type.
static void removeCallback (DtRtiAssistantClient *conn, DtAssistantLogRequestCb cb, void *usr)
static void addCallback (DtRtiAssistantPeer *conn, DtAssistantLogRequestCb cb, void *usr)
 Adds or removes a callback with the given Assistant peer for this message type.
static void removeCallback (DtRtiAssistantPeer *conn, DtAssistantLogRequestCb cb, void *usr)

Protected Member Functions

virtual
DtNetAssistantLogRequestMsg
netAssistantLogRequestMsg ()
 The network representation for the message.
virtual const
DtNetAssistantLogRequestMsg
netAssistantLogRequestMsg () const
virtual DtAssistantMsgKind internalMsgKind ()
 Returns the kind of a DtAssistantLogRequestMsg message.
virtual int minSize () const
 Returns minimum size of a message, including header.

Detailed Description

The DtAssistantLogRequestMsg defines a wrapper for the RTI Assistant message used by the Assistant to request a full log from an rtiexec.


Constructor & Destructor Documentation

DtAssistantLogRequestMsg::DtAssistantLogRequestMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructors.

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

Referenced by clone(), and create().

DtAssistantLogRequestMsg::DtAssistantLogRequestMsg ( const DtNetAssistantLogRequestMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

void DtAssistantLogRequestMsg::addCallback ( DtRtiAssistantPeer conn,
DtAssistantLogRequestCb  cb,
void *  usr 
) [static]

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

References DtRtiAssistantPeer::addMsgCallback(), and DtAssistantLogRequestMsgKind.

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

Implements DtAssistantMsg.

References DtAssistantLogRequestMsg(), and netAssistantLogRequestMsg().

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

Creators.

References DtAssistantLogRequestMsg().

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

Returns the kind of a DtAssistantLogRequestMsg message.

Implements DtAssistantMsg.

References DtAssistantLogRequestMsgKind.

Referenced by DtAssistantLogRequestMsg().

unsigned DtAssistantLogRequestMsg::maxLogSize ( ) const [virtual]

Get the maximum size for the log response message.

References DtNetAssistantLogRequestMsg::maxLogSize, and netAssistantLogRequestMsg().

Referenced by DtRtiexecObserverForAssistant::processLogRequestMsg().

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

Returns minimum size of a message, including header.

Referenced by DtAssistantLogRequestMsg().

The network representation for the message.

Referenced by clone(), maxLogSize(), and setMaxLogSize().

void DtAssistantLogRequestMsg::printData ( ) const [virtual]

Print the data section.

Reimplemented from DtAssistantMsg.

void DtAssistantLogRequestMsg::setMaxLogSize ( unsigned  size) [virtual]

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)