55 const std::shared_ptr<memoryxcontroller::MemoryXController>& memoryXController,
56 const std::shared_ptr<scene3D::Scene>& scene,
57 const std::string& groupName,
58 const std::string& objectId);
85 std::string groupName;
Operation(const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId)
A constructor.
const OperationPtr createInverseOperation() const override
Returns a new operation which adds the object to the group.
RemoveFromGroupOperation(const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &groupName, const std::string &objectId)
Creates a new operation, which removes a object from a group.
void executeOnScene() override
Removes the object from the group.
void executeOnWorkingMemory() override
Because the WorkingMemory does not support groups, nothing is done here.
std::shared_ptr< Operation > OperationPtr