ufe 5.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
Base class for undoable set operation commands. More...
#include <baseUndoableCommands.h>
Public Member Functions | |
BaseUndoableCommand (const Path &path) | |
~BaseUndoableCommand () override | |
void | setPath (const Path &path) |
Set the path of the object onto which the command is applied. More... | |
const Path & | path () const |
Ufe::SceneItem::Ptr | sceneItem () const |
Public Member Functions inherited from Ufe::UndoableCommand | |
virtual | ~UndoableCommand () |
Destructor. More... | |
virtual std::string | commandString () const |
Get a user friendly string representation of the command. More... | |
virtual void | execute () |
virtual void | undo ()=0 |
virtual void | redo ()=0 |
Private Attributes | |
Path | fPath |
Additional Inherited Members | |
Public Types inherited from Ufe::UndoableCommand | |
typedef std::shared_ptr< UndoableCommand > | Ptr |
Protected Member Functions inherited from Ufe::UndoableCommand | |
UndoableCommand () | |
Constructor. More... | |
UndoableCommand (const UndoableCommand &)=delete | |
Deleting copy constructor. More... | |
Base class for undoable set operation commands.
Definition at line 30 of file baseUndoableCommands.h.
Ufe::BaseUndoableCommand::BaseUndoableCommand | ( | const Path & | path | ) |
|
override |
|
inline |
Definition at line 40 of file baseUndoableCommands.h.
|
inline |
Definition at line 43 of file baseUndoableCommands.h.
References Ufe::Hierarchy::createItem(), and Ufe::PathString::path().
|
inline |
Set the path of the object onto which the command is applied.
Definition at line 37 of file baseUndoableCommands.h.
References Ufe::PathString::path().
|
private |
Definition at line 46 of file baseUndoableCommands.h.