VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setDataCommandExecutor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
19 {
20 public:
22 
23  virtual ~DtSetDataCommandExecutor() override;
24 
26  virtual bool execute(const DtSimCommand* command, DtSimCommandContextPtr& context, const DtPlan* = 0) override;
27 
31  virtual bool execute(
32  const DtSimCommand* command, DtSimCommandContextPtr& context, const DtUUID& object, const DtPlan* = 0) override;
33 
35  static DtSimCommandExecutor* create(DtSimulationServices* simManager);
36 
37 protected:
40  virtual bool executeCommand(const DtSimCommand* command,
41  const DtUUID& sender, const DtPlan* = 0);
42 
43 private:
50 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
virtual bool execute(const DtSimCommand *command, DtSimCommandContextPtr &context, const DtPlan *plan=0)=0
Perform the actual execution of the DtSimCommand. Pure virtual function; must be overloaded by derive...
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
#define DT_DLL_vrfplanmgr
This file is used to determine how to build.
Definition: vrfplanmgrDefines.h:28
DtSimCommandExecutor & operator=(const DtSimCommandExecutor &orig)
Not implemented.
DtSimCommand is an abstract base class from which commands can derive. It manages the read/write capa...
Definition: simCommand.h:32
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
Executor for the DtSetDataCommand DtSimCommand. Issues the enclosed set data request to the entity sp...
Definition: setDataCommandExecutor.h:18

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)