27 const std::shared_ptr<memoryxcontroller::MemoryXController>& memoryXController,
28 const std::shared_ptr<scene3D::Scene>& scene,
29 const std::string& objectId) :
30 scene(scene), memoryXController(memoryXController), objectId(objectId)
35 const std::shared_ptr<memoryxcontroller::MemoryXController>& memoryXController,
36 const std::shared_ptr<scene3D::Scene>& scene) :
37 scene(scene), memoryXController(memoryXController), objectId()
41const std::shared_ptr<scene3D::Scene>
47const std::shared_ptr<memoryxcontroller::MemoryXController>
50 return memoryXController.lock();
62 Operation::objectId = objectId;
std::string getObjectId() const
Returns the ID of the object, this Operation is working on.
const std::shared_ptr< memoryxcontroller::MemoryXController > getMemoryXController() const
Returns the the MemoryXController to execute the Operation at.
const std::shared_ptr< scene3D::Scene > getScene() const
Returns the the Scene to execute the Operation at.
Operation(const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId)
A constructor.
virtual bool isExecuteable()
Return wehether the operation can be executed currently.
void setObjectId(const std::string &objectId)
Sets the ID, this operation is working on.