HDK
|
#include <SOP_UndoModel.h>
Public Types | |
using | OP_LockTypes = OP_Node::OP_LockTypes |
Public Member Functions | |
SOP_UndoModel () | |
~SOP_UndoModel () override | |
void | init (OP_LockTypes prev_lock, OP_LockTypes new_lock, SOP_Node *sop, SOP_SoftLockData *prev_slockdata=0, SOP_SoftLockData *new_slockdata=0) |
void | undo () override |
void | redo () override |
void | setName (const char *name) |
const char * | getName () |
Public Member Functions inherited from UT_Undo | |
UT_Undo () | |
virtual | ~UT_Undo () |
virtual bool | isValid () |
virtual bool | needToUndo () |
virtual bool | needToRedo () |
virtual int | isUndoBlock () const |
virtual int64 | getMemoryUsage () |
void | addToMemoryUsage (int64 k) |
void | setMemoryUsage (int64 k) |
void | setNextUndo (UT_Undo *nundo) |
UT_Undo * | getNextUndo () |
Protected Types | |
enum | SOP_UndoModelOperation { SOPUNDOMODEL_UNDO, SOPUNDOMODEL_REDO } |
Protected Member Functions | |
bool | hasSopUndo () |
void | doUndo (void *modeler) |
void | doRedo (void *modeler) |
Protected Member Functions inherited from UT_Undo | |
void | generateTmpFilename (const char *prefix, UT_String &filename) |
Definition at line 25 of file SOP_UndoModel.h.
Definition at line 31 of file SOP_UndoModel.h.
|
protected |
Enumerator | |
---|---|
SOPUNDOMODEL_UNDO | |
SOPUNDOMODEL_REDO |
Definition at line 46 of file SOP_UndoModel.h.
SOP_UndoModel::SOP_UndoModel | ( | ) |
|
override |
|
inline |
Definition at line 43 of file SOP_UndoModel.h.
|
inlineprotected |
Definition at line 52 of file SOP_UndoModel.h.
void SOP_UndoModel::init | ( | OP_LockTypes | prev_lock, |
OP_LockTypes | new_lock, | ||
SOP_Node * | sop, | ||
SOP_SoftLockData * | prev_slockdata = 0 , |
||
SOP_SoftLockData * | new_slockdata = 0 |
||
) |
|
inline |
Definition at line 42 of file SOP_UndoModel.h.