VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
DtSetDataCommandExecutor Class Reference

Executor for the DtSetDataCommand DtSimCommand. More...

Inheritance diagram for DtSetDataCommandExecutor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSetDataCommandExecutor (DtSimManager *simManager)
virtual ~DtSetDataCommandExecutor ()
virtual bool execute (const DtSimCommand *command)
 Calls executeCommand() with null senderName.
virtual bool execute (const DtSimCommand *command, const DtString &objectName)
 Overridden to include the name of the entity sending the task in the set data request radio message.

Static Public Member Functions

static DtSimCommandExecutorcreate (DtSimManager *simManager)

Protected Member Functions

virtual bool executeCommand (const DtSimCommand *command, const DtString &senderName)
 Executes the command by sending out a set data request radio message.

Private Member Functions

 DtSetDataCommandExecutor ()
 Not implemented.
 DtSetDataCommandExecutor (const DtSetDataCommandExecutor &orig)
 Not implemented.
DtSetDataCommandExecutoroperator= (const DtSetDataCommandExecutor &orig)
 Not implemented.

Detailed Description

Executor for the DtSetDataCommand DtSimCommand.

Issues the enclosed set data request to the entity specified in the command.


Constructor & Destructor Documentation

Not implemented.

Not implemented.


Member Function Documentation

virtual bool DtSetDataCommandExecutor::execute ( const DtSimCommand command) [virtual]

Calls executeCommand() with null senderName.

Implements DtSimCommandExecutor.

virtual bool DtSetDataCommandExecutor::execute ( const DtSimCommand command,
const DtString objectName 
) [virtual]

Overridden to include the name of the entity sending the task in the set data request radio message.

Calls executeCommand with the supplied objectName as the senderName.

Reimplemented from DtSimCommandExecutor.

Returns:
A new instance of this class.
virtual bool DtSetDataCommandExecutor::executeCommand ( const DtSimCommand command,
const DtString senderName 
) [protected, virtual]

Executes the command by sending out a set data request radio message.

Parameters:
commandmust be DtSetDataCommand.
DtSetDataCommandExecutor& DtSetDataCommandExecutor::operator= ( const DtSetDataCommandExecutor orig) [private]

Not implemented.


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)