55 const std::shared_ptr<memoryxcontroller::MemoryXController>& memoryXController,
56 const std::shared_ptr<scene3D::Scene>& scene,
57 const std::string& oldGroupName,
58 const std::string& newGroupName);
85 std::string oldGroupName;
86 std::string newGroupName;
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 reverts the renameing of the group.
void executeOnScene() override
Renames the group.
RenameGroupOperation(const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &oldGroupName, const std::string &newGroupName)
Creates a new operation, which renames a group.
void executeOnWorkingMemory() override
Because the WorkingMemory does not support groups, nothing is done here.
std::shared_ptr< Operation > OperationPtr