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

DtTaskCommandExecutor. More...

Inheritance diagram for DtTaskCommandExecutor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtTaskCommandExecutor (DtSimManager *simManager)
virtual ~DtTaskCommandExecutor ()
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 task 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 task radio message.

Private Member Functions

 DtTaskCommandExecutor ()
 Not implemented.
 DtTaskCommandExecutor (const DtTaskCommandExecutor &orig)
 Not implemented.
DtTaskCommandExecutoroperator= (const DtTaskCommandExecutor &orig)
 Not implemented.

Detailed Description

DtTaskCommandExecutor.

Executor for the DtTaskCommand DtSimCommand. Issues the enclosed task to the entity specified in the command.


Constructor & Destructor Documentation

Not implemented.

Not implemented.


Member Function Documentation

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

Calls executeCommand() with null senderName.

Implements DtSimCommandExecutor.

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

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

Calls executeCommand with the supplied objectName as the senderName.

Reimplemented from DtSimCommandExecutor.

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

Executes the command by sending out a task radio message.

Parameters:
commandmust be DtTaskCommand.
DtTaskCommandExecutor& DtTaskCommandExecutor::operator= ( const DtTaskCommandExecutor 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)