|
|
A operation to create a new group. More...
#include <MemoryX/gui-plugins/SceneEditor/controller/CreateGroupOperation.h>
Inheritance diagram for CreateGroupOperation:Public Member Functions | |
| CreateGroupOperation (const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &groupName) | |
| Creates a new operation, which creates a new group. | |
| const OperationPtr | createInverseOperation () const override |
| Returns a new operation, which deletes the created group. | |
Public Member Functions inherited from Operation | |
| std::string | getObjectId () const |
| Returns the ID of the object, this Operation is working on. | |
| virtual bool | isExecuteable () |
| Return wehether the operation can be executed currently. | |
| Operation (const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene) | |
| A constructor. | |
| Operation (const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId) | |
| A constructor. | |
Protected Member Functions | |
| void | executeOnScene () override |
| Creates the group. | |
| void | executeOnWorkingMemory () override |
| Because the WorkingMemory does not support groups, nothing is done here. | |
Protected Member Functions inherited from Operation | |
| 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. | |
| void | setObjectId (const std::string &objectId) |
| Sets the ID, this operation is working on. | |
A operation to create a new group.
Definition at line 41 of file CreateGroupOperation.h.
| CreateGroupOperation | ( | const std::shared_ptr< memoryxcontroller::MemoryXController > & | memoryXController, |
| const std::shared_ptr< scene3D::Scene > & | scene, | ||
| const std::string & | groupName ) |
Creates a new operation, which creates a new group.
| memoryXController | The MemoryXController to create the group on. (This is currently not used.) |
| scene | The scene to create the group on. |
| groupName | The name of the group to create. |
Definition at line 33 of file CreateGroupOperation.cpp.
Here is the call graph for this function:
|
overridevirtual |
Returns a new operation, which deletes the created group.
Implements Operation.
Definition at line 46 of file CreateGroupOperation.cpp.
Here is the call graph for this function:
|
overrideprotectedvirtual |
Creates the group.
Implements Operation.
Definition at line 67 of file CreateGroupOperation.cpp.
Here is the call graph for this function:
|
overrideprotectedvirtual |
Because the WorkingMemory does not support groups, nothing is done here.
Implements Operation.
Definition at line 61 of file CreateGroupOperation.cpp.