VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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

default constructor

copy constructor

Note:
Creates a copy of the contained DtVrfObjectMessage.

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.

Implements DtSimInterfaceContent.

Returns:
A new copy of this interface content.
Note:
Creates a copy of the contained DtVrfObjectMessage.

Implements DtSimInterfaceContent.

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.

Reimplemented from DtSimInterfaceContent.

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

For network serialization.

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfExecuteSimCommand::setToNet ( ) [virtual]

For network serialization.

Reimplemented from DtSimInterfaceContent.

virtual void DtIfExecuteSimCommand::printDataToString ( DtString str) [virtual]

Reimplemented from DtSimInterfaceContent.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)