VR-Forces 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() override;
22 
28  //Prints message to the sim engine console.
29  virtual bool execute(const DtSimCommand* command, DtSimCommandContextPtr&, const DtPlan* = 0) override;
30 
31  //Prints message to the objectConsole for the named object.
32  virtual bool execute(
33  const DtSimCommand* command, DtSimCommandContextPtr&, const DtUUID& objectName, const DtPlan* = 0) override;
34 
35  //\return A new instance of this class.
37 
38 private:
39  //Not implemented.
41  //Not implemented.
43  //Not implemented.
45 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
MySimCommandExecutor & operator=(const MySimCommandExecutor &orig)
std::shared_ptr< DtSimCommandContext > DtSimCommandContextPtr
Definition: simCommandStmt.h:28
Abstract base class for all simCommand executors. Every DtSimCommand should have a corresponding DtSi...
Definition: simCommandExecutor.h:30
static DtSimCommandExecutor * create(DtSimulationServices *simManager)
virtual ~MySimCommandExecutor() override
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
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:96
virtual bool execute(const DtSimCommand *command, DtSimCommandContextPtr &, const DtPlan *=0) override
This DtSimCommandContextPtr is now used to indicate there is some context that the executor needs to ...

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)