This class is the base class of all commands that can undergo undo and redo operations.
Public Member Functions | |
SB_DECLARE_DATA (SBCUndoCommand) | |
Protected Member Functions | |
SBCUndoCommand (SBCUndoCommandData *dataPointer) | |
Protected Attributes | |
SBCUndoCommandData * | dataPointer |
Constructors and destructors | |
virtual | ~SBCUndoCommand () |
Topology | |
SBCUndoCommand * | getParent () const |
virtual void | addChild (SBCUndoCommand *undoCommand) |
virtual unsigned int | getNumberOfCommands () const |
Identity | |
bool | isDone () |
virtual std::string | getName () const |
virtual bool | isCommand () const |
virtual bool | isCommandGroup () const |
Debugging | |
virtual void | print (unsigned int offset=0) const |
Undo / Redo | |
virtual void | redo () |
virtual void | undo () |