VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtIfExecuteSimCommand Class Reference

This interface content holds a DtSimCommand subclass for delivery to a simulation engine. More...

Inheritance diagram for DtIfExecuteSimCommand:
Inheritance graph
[legend]

Public Member Functions

 DtIfExecuteSimCommand ()
 default constructor
 DtIfExecuteSimCommand (const DtIfExecuteSimCommand &orig)
 copy constructor
const DtIfExecuteSimCommandoperator= (const DtIfExecuteSimCommand &orig)
 assignment operator
virtual ~DtIfExecuteSimCommand ()
virtual int type () const
 Returns the type of Interface Content; DtDeliverRadioMessageType.
virtual DtSimInterfaceContentclone () const
virtual void printDataToString (DtString &str)
virtual DtSimCommandsimCommand () const
 The DtSimCommand contained by this interface message.
virtual void setSimCommand (DtSimCommand *command)
 The DtSimCommand contained by this interface message.
virtual int netRepSize () const
 For network serialization.
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
 For network serialization.
virtual bool setToNet ()
 For network serialization.

Static Public Member Functions

static DtSimInterfaceContentcreator ()

Protected Attributes

DtSimCommandmySimCommand
bool myOwnSimCommand

Detailed Description

This interface content holds a DtSimCommand subclass for delivery to a simulation engine.

The receiving simulation engine will execute the command in this message.

Constructor & Destructor Documentation

DtIfExecuteSimCommand::DtIfExecuteSimCommand ( )

default constructor

DtIfExecuteSimCommand::DtIfExecuteSimCommand ( const DtIfExecuteSimCommand orig)

copy constructor

Note
Creates a copy of the contained DtVrfObjectMessage.
virtual DtIfExecuteSimCommand::~DtIfExecuteSimCommand ( )
virtual

Member Function Documentation

const DtIfExecuteSimCommand& DtIfExecuteSimCommand::operator= ( const DtIfExecuteSimCommand orig)

assignment operator

Note
Creates a copy of the contained DtVrfObjectMessage.
virtual int DtIfExecuteSimCommand::type ( ) const
virtual

Returns the type of Interface Content; DtDeliverRadioMessageType.

virtual DtSimInterfaceContent* DtIfExecuteSimCommand::clone ( ) const
virtual
Returns
A new copy of this interface content.
Note
Creates a copy of the contained DtVrfObjectMessage.
virtual DtSimCommand* DtIfExecuteSimCommand::simCommand ( ) const
virtual

The DtSimCommand contained by this interface message.

Note
Does not clone the DtSimCommand, but only holds a pointer to it. The caller must ensure that the message exists for the existence of this interface content. Since the clone operator also clones the contained messages, the caller only needs to worry about this instance of the interface content and not any clones or copies.
virtual void DtIfExecuteSimCommand::setSimCommand ( DtSimCommand command)
virtual

The DtSimCommand contained by this interface message.

Note
Does not clone the DtSimCommand, but only holds a pointer to it. The caller must ensure that the message exists for the existence of this interface content. Since the clone operator also clones the contained messages, the caller only needs to worry about this instance of the interface content and not any clones or copies.
virtual int DtIfExecuteSimCommand::netRepSize ( ) const
virtual

For network serialization.

virtual bool DtIfExecuteSimCommand::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
)
virtual

For network serialization.

virtual bool DtIfExecuteSimCommand::setToNet ( )
virtual

For network serialization.

virtual void DtIfExecuteSimCommand::printDataToString ( DtString str)
virtual
static DtSimInterfaceContent* DtIfExecuteSimCommand::creator ( )
static

Member Data Documentation

DtSimCommand* DtIfExecuteSimCommand::mySimCommand
protected
bool DtIfExecuteSimCommand::myOwnSimCommand
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)