This class describes an event of the undo manager.
Public Member Functions | |
SB_DECLARE_DATA (SBCUndoEvent) | |
Public Attributes | |
SBCUndoEventData * | dataPointer |
Event types | |
enum | Type { Undefined, CommandAdded, CommandRemoved, CommandDisabled, NextCommandIndexChanged } |
Constructors and destructors | |
SBCUndoEvent (Type type, SBCUndoCommand *undoCommand, SBCUndoStack *undoStack) | |
virtual | ~SBCUndoEvent () |
Identity | |
Type | getType () const |
SBCUndoCommand * | getUndoCommand () const |
SBCUndoStack * | getUndoStack () const |
static std::string | getTypeString (Type type) |
Debugging | |
virtual void | print (unsigned int offset=0) const |