Conscience Core
CommandMemberToStateTeleportEulersOnly.h
Go to the documentation of this file.
1 //
2 // ConscienceRobotManager
3 //
4 // Created by Hazar Zaoui on 16/12/2020.
5 // Copyright © 2020 IliesZaoui. All rights reserved.
6 //
7 
8 #ifndef CommandMemberToStateTeleportEulersOnly_h
9 #define CommandMemberToStateTeleportEulersOnly_h
10 
11 #include "Command.h"
13 
14 using std::string;
15 using std::vector;
16 
18 
20 
21 public:
22  inline static const CommandTypeId COMMAND_ID = "MEMBER_TO_STATE_TELEPORT_EULERS_ONLY";
23 
25  ptr<CscEntityReflexion> entityReflexion,
26  CscState *objectiveState);
27 
29  delete objectiveState;
30  }
31 
32  CscState *getObjectiveState();
33 
34 protected:
35  const CscCommandExecutionResultNone *doExecute(
36  CscEnvironmentSimulator &environmentSimulator) override;
38  return entityReflexion;
39  }
40 
41 private:
42  ptr<CscEntityReflexion> entityReflexion;
43  CscState *objectiveState;
44 };
45 
46 COMMAND_REGISTER(CommandMemberToStateTeleportEulersOnly, ptr<CscEntityReflexion>, CscState *)
47 
48 }
49 
50 #endif /* CommandMemberToStateAdjustRealityGap_hpp */
conscience_core::bridging::commands::result::CscCommandExecutionResultNone
Definition: CommandExecutionResultNone.h:11
CSC_DLL_IMPORTEXPORT
#define CSC_DLL_IMPORTEXPORT
Definition: os.h:34
Command.h
conscience_core::bridging::commands::CommandTypeId
string CommandTypeId
Definition: Command.h:29
conscience_core::bridging::commands
Definition: cartographyCommands.cpp:4
CscState
Definition: CscState.h:24
conscience_core::bridging::commands::CscCommand
Definition: Command.h:40
CscEnvironmentSimulator
Definition: CscEnvironmentSimulator.h:31
conscience_core::bridging::commands::COMMAND_REGISTER
COMMAND_REGISTER(CommandFollowKinematicTrajectory, ptr< CscEntityReflexion >, int, const CscState *, string, string, string, string, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)
CscCommandAutoParse.h
conscience_core::bridging::commands::CommandMemberToStateTeleportEulersOnly
Definition: CommandMemberToStateTeleportEulersOnly.h:19
ptr
std::shared_ptr< T > ptr
Definition: CscCommon.h:29
conscience_core::bridging::commands::CommandMemberToStateTeleportEulersOnly::getEntityReflexion
ptr< CscEntityReflexion > getEntityReflexion() const override
Definition: CommandMemberToStateTeleportEulersOnly.h:37
conscience_core::bridging::commands::CommandMemberToStateTeleportEulersOnly::~CommandMemberToStateTeleportEulersOnly
~CommandMemberToStateTeleportEulersOnly()
Definition: CommandMemberToStateTeleportEulersOnly.h:28