54 const std::shared_ptr<memoryxcontroller::MemoryXController>& memoryXController,
55 const std::shared_ptr<scene3D::Scene>& scene,
56 const std::string& objectId);
Operation(const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId)
A constructor.
SelectOperation(const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId)
Creates a new operation, which selects a object.
const OperationPtr createInverseOperation() const override
Returns a new operation, which deselects the object again.
void executeOnScene() override
Selects the object.
void executeOnWorkingMemory() override
Because the WorkingMemory does not support selection, nothing is done on the WorkingMemory.
std::shared_ptr< Operation > OperationPtr