1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.9-windows/ufe/include/baseUndoableCommands.h" 2 #ifndef _baseUndoableCommands 3 #define _baseUndoableCommands 43 inline const Path &
path()
const {
return fPath; }
53 template <
typename VALUE_TYPE>
57 typedef std::shared_ptr<SetValueUndoableCommand>
Ptr;
69 virtual bool set(VALUE_TYPE v) = 0;
73 template <
typename VALUE_TYPE>
77 typedef std::shared_ptr<SetValue3UndoableCommand>
Ptr;
91 virtual bool set(VALUE_TYPE x, VALUE_TYPE y, VALUE_TYPE z) = 0;
std::shared_ptr< SetValue3UndoableCommand > Ptr
Abstract class for set Value3 command.
Definition of macros for symbol visibility.
SetValueUndoableCommand(const Path &path)
Constructor.
static SceneItem::Ptr createItem(const Path &path)
std::shared_ptr< SetValueUndoableCommand > Ptr
Identify an object or 3D path in the scene.
Ufe::SceneItem::Ptr sceneItem() const
Abstract class for set value command.
const Path & path() const
virtual ~SetValue3UndoableCommand()
Destructor.
Abstract base class for undoable commands.
SetValue3UndoableCommand(const Path &path)
Constructor.
std::shared_ptr< SceneItem > Ptr
void setPath(const Path &path)
Set the path of the object onto which the command is applied.
Path path(const std::string &pathString)
virtual ~SetValueUndoableCommand()
Destructor.
Base class for undoable set operation commands.