VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sendTextMessageCommandExecutor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 
12 
16 {
17 public:
19 
21 
24  virtual bool execute(const DtSimCommand* command, DtSimCommandContextPtr& context, const DtUUID& entity, const DtPlan* = 0);
25 
27  virtual bool execute(const DtSimCommand* command, DtSimCommandContextPtr& context, const DtPlan* = 0);
28 
30  static DtSimCommandExecutor* create(DtSimulationServices* simManager);
31 
32 protected:
33  virtual void sendTextMessage(const DtSendTextMessageCommand&, const DtUUID& from);
34 
35 private:
42 };
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...
Abstract base class for all simCommand executors. Every DtSimCommand should have a corresponding DtSi...
Definition: simCommandExecutor.h:30
Executor for the DtSendTextMessageCommand DtSimCommand. Sends the text message to the given object (o...
Definition: sendTextMessageCommandExecutor.h:15
#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 subclass for deleting a named object.
Definition: sendTextMessageCommand.h:15
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:95
DtBoost::shared_ptr< DtSimCommandContext > DtSimCommandContextPtr
Definition: simCommandStmt.h:28

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)