1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.9-windows/ufe/include/undoableCommand.h" 2 #ifndef _undoableCommand 3 #define _undoableCommand 18 #include <initializer_list> 35 typedef std::shared_ptr<UndoableCommand>
Ptr;
42 virtual void execute();
44 virtual void undo() = 0;
45 virtual void redo() = 0;
71 static std::shared_ptr<CompositeUndoableCommand> create(
72 std::initializer_list<Ptr> undoableCommands
94 void append(
const Ptr& cmd);
97 const CmdList& cmdsList()
const;
115 typedef std::shared_ptr<InsertChildCommand>
Ptr;
std::shared_ptr< UndoableCommand > Ptr
Definition of macros for symbol visibility.
Composite undoable command.
Abstract base class for undoable commands.
std::shared_ptr< SceneItem > Ptr
Command to change the parent of a scene item.
std::shared_ptr< InsertChildCommand > Ptr