Conscience Core
CommandConsumeVideoSource.h
Go to the documentation of this file.
1 #ifndef ConscienceCommandConsumeVideoSource_h
2 #define ConscienceCommandConsumeVideoSource_h
3 
4 #include <memory>
5 #include <string>
6 #include "./Command.h"
9 
10 using std::string;
11 using std::vector;
12 using namespace conscience_core::core_objects;
13 
15 
16 
21 
22  public:
23  inline static const CommandTypeId COMMAND_ID = "CONSUME_VIDEO_SOURCE";
24 
26  ptr<CscEntityReflexion> entityReflexion
27  );
28 
29  protected:
30  const CscCommandExecutionResultNone * doExecute(CscEnvironmentSimulator &environmentSimulator) override;
32  return entityReflexion;
33  }
34  private:
35  ptr<CscEntityReflexion> entityReflexion;
36  };
37 
38 COMMAND_REGISTER(CommandConsumeVideoSource, ptr<CscEntityReflexion>)
39 }
40 
41 #endif
conscience_core::core_objects
Definition: CscEntityReflexion.h:33
conscience_core::bridging::commands::result::CscCommandExecutionResultNone
Definition: CommandExecutionResultNone.h:11
CSC_DLL_IMPORTEXPORT
#define CSC_DLL_IMPORTEXPORT
Definition: os.h:31
conscience_core::bridging::commands::CommandConsumeVideoSource
Definition: CommandConsumeVideoSource.h:20
Command.h
conscience_core::bridging::commands::CommandTypeId
string CommandTypeId
Definition: Command.h:29
CscEntityReflexion.h
conscience_core::bridging::commands
Definition: cartographyCommands.cpp:4
conscience_core::bridging::commands::CommandConsumeVideoSource::getEntityReflexion
ptr< CscEntityReflexion > getEntityReflexion() const override
Definition: CommandConsumeVideoSource.h:31
conscience_core::bridging::commands::CscCommand
Definition: Command.h:40
COMMAND_REGISTER
#define COMMAND_REGISTER(COMMAND_REGISTER_className,...)
Definition: CscCommandAutoParse.h:467
CscEnvironmentSimulator
Definition: CscEnvironmentSimulator.h:35
CscCommandAutoParse.h
ptr
std::shared_ptr< T > ptr
Definition: CscCommon.h:29