VR-Forces 5.0.2 Developer's Guide
 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.
36 
37 private:
38  //Not implemented.
40  //Not implemented.
42  //Not implemented.
44 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
MySimCommandExecutor & operator=(const MySimCommandExecutor &orig)
Abstract base class for all simCommand executors. Every DtSimCommand should have a corresponding DtSi...
Definition: simCommandExecutor.h:30
static DtSimCommandExecutor * create(DtSimulationServices *simManager)
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. It manages the read/write capa...
Definition: simCommand.h:32
Definition: mySimCommandExecutor.h:16
virtual ~MySimCommandExecutor()
class DtPlan:
Definition: plan.h:92
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
DtBoost::shared_ptr< DtSimCommandContext > DtSimCommandContextPtr
Definition: simCommandStmt.h:28

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)