|
A operation which does nothing. More...
#include <MemoryX/gui-plugins/SceneEditor/controller/EmptyOperation.h>
Public Member Functions | |
const OperationPtr | createInverseOperation () const override |
Returns a new operation, which does nothing. More... | |
EmptyOperation (const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId) | |
Creates a new instance. More... | |
Public Member Functions inherited from Operation | |
std::string | getObjectId () const |
Returns the ID of the object, this Operation is working on. More... | |
virtual bool | isExecuteable () |
Return wehether the operation can be executed currently. More... | |
Operation (const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene) | |
A constructor. More... | |
Operation (const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId) | |
A constructor. More... | |
Protected Member Functions | |
void | executeOnScene () override |
Do nothing. More... | |
void | executeOnWorkingMemory () override |
Do nothing. More... | |
Protected Member Functions inherited from Operation | |
const std::shared_ptr< memoryxcontroller::MemoryXController > | getMemoryXController () const |
Returns the the MemoryXController to execute the Operation at. More... | |
const std::shared_ptr< scene3D::Scene > | getScene () const |
Returns the the Scene to execute the Operation at. More... | |
void | setObjectId (const std::string &objectId) |
Sets the ID, this operation is working on. More... | |
A operation which does nothing.
Definition at line 40 of file EmptyOperation.h.
EmptyOperation | ( | const std::shared_ptr< memoryxcontroller::MemoryXController > & | memoryXController, |
const std::shared_ptr< scene3D::Scene > & | scene, | ||
const std::string & | objectId | ||
) |
Creates a new instance.
memoryXController | A MemoryXController. (not used) |
scene | A scene. (not used) |
objectId | A ID. (not used) |
Definition at line 31 of file EmptyOperation.cpp.
|
overridevirtual |
Returns a new operation, which does nothing.
Implements Operation.
Definition at line 36 of file EmptyOperation.cpp.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |