MAK RTIspy API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Member Functions
DtAssistantLogEnableMsg Class Reference

The DtAssistantLogEnableMsg defines a wrapper for the RTI Assistant logging enable message used by the Assistant to command an RTI component to enable logging. More...

+ Inheritance diagram for DtAssistantLogEnableMsg:
+ Collaboration diagram for DtAssistantLogEnableMsg:

List of all members.

Public Member Functions

 DtAssistantLogEnableMsg (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Constructors.
 DtAssistantLogEnableMsg (const DtNetAssistantLogEnableMsg *netRepMsg, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
virtual ~DtAssistantLogEnableMsg ()
 Destructor.
virtual DtAssistantMsgclone (bool copy=true) const
 Return a copy/empty object of the same type as this.
virtual bool isEnable () const
 Get enable/disable status.
virtual void setEnable (bool val)
 Set enable/disable status.
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, DtAssistantLogEnableCb cb, void *usr)
 Adds or removes a callback with the given Assistant client for this message type.
static void removeCallback (DtRtiAssistantClient *conn, DtAssistantLogEnableCb cb, void *usr)

Protected Member Functions

virtual
DtNetAssistantLogEnableMsg
netAssistantLogEnableMsg ()
 The network representation for the log enable message.
virtual const
DtNetAssistantLogEnableMsg
netAssistantLogEnableMsg () const
virtual DtAssistantMsgKind internalMsgKind ()
 Returns the kind of a DtAssistantLogEnableMsg message.
virtual int minSize () const
 Returns minimum size of a message, including header.

Detailed Description

The DtAssistantLogEnableMsg defines a wrapper for the RTI Assistant logging enable message used by the Assistant to command an RTI component to enable logging.


Constructor & Destructor Documentation

DtAssistantLogEnableMsg::DtAssistantLogEnableMsg ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

Constructors.

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

Referenced by clone(), and create().

DtAssistantLogEnableMsg::DtAssistantLogEnableMsg ( const DtNetAssistantLogEnableMsg netRepMsg,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

Destructor.


Member Function Documentation

void DtAssistantLogEnableMsg::addCallback ( DtRtiAssistantClient conn,
DtAssistantLogEnableCb  cb,
void *  usr 
) [static]

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

References DtRtiAssistantClient::addMsgCallback(), and DtAssistantLogEnableMsgKind.

Referenced by DtRtiexecObserverForAssistant::DtRtiexecObserverForAssistant(), and DtFederateMgr::postJoinInit().

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

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

Implements DtAssistantMsg.

References DtAssistantLogEnableMsg(), and netAssistantLogEnableMsg().

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

Creators.

References DtAssistantLogEnableMsg().

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

Returns the kind of a DtAssistantLogEnableMsg message.

Implements DtAssistantMsg.

References DtAssistantLogEnableMsgKind.

Referenced by DtAssistantLogEnableMsg().

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

Returns minimum size of a message, including header.

Referenced by DtAssistantLogEnableMsg().

The network representation for the log enable message.

Referenced by clone(), isEnable(), and setEnable().

void DtAssistantLogEnableMsg::printData ( ) const [virtual]

Print the data section.

Reimplemented from DtAssistantMsg.

References isEnable().

void DtAssistantLogEnableMsg::setEnable ( bool  val) [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)