VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
mySimCommandExecutor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 //\file mySimCommandExecutor.h
7 //\brief MySimCommandExecutor.
8 
9 #pragma once
10 
12 
13 //\brief Executor for the MySimCommand DtSimCommand.
14 //Prints the text specified in the command to the console.
15 
17 {
18 public:
20 
21  virtual ~MySimCommandExecutor();
22 
28  //Prints message to the sim engine console.
29  virtual bool execute(const DtSimCommand* command, DtSimCommandContextPtr &, const DtPlan* = 0);
30 
31  //Prints message to the objectConsole for the named object.
32  virtual bool execute(const DtSimCommand* command, DtSimCommandContextPtr &, const DtUUID& objectName, const DtPlan* = 0);
33 
34  //\return A new instance of this class.
35  static DtSimCommandExecutor* create(DtSimManager* simManager);
36 
37 private:
38  //Not implemented.
40  //Not implemented.
42  //Not implemented.
44 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
MySimCommandExecutor & operator=(const MySimCommandExecutor &orig)
Abstract base class for all simCommand executors.
Definition: simCommandExecutor.h:30
virtual bool execute(const DtSimCommand *command, DtSimCommandContextPtr &, const DtPlan *=0)
This DtSimCommandContextPtr is now used to indicate there is some context that the executor needs to ...
DtSimCommand is an abstract base class from which commands can derive.
Definition: simCommand.h:32
Definition: mySimCommandExecutor.h:16
virtual ~MySimCommandExecutor()
class DtPlan:
Definition: plan.h:90
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
static DtSimCommandExecutor * create(DtSimManager *simManager)
DtBoost::shared_ptr< DtSimCommandContext > DtSimCommandContextPtr
Definition: simCommandStmt.h:28

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)