HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_UndoModel Class Reference

#include <SOP_UndoModel.h>

+ Inheritance diagram for SOP_UndoModel:

Public Member Functions

 SOP_UndoModel ()
 
virtual ~SOP_UndoModel ()
 
void init (unsigned char prev_lock, unsigned char new_lock, SOP_Node *sop, SOP_SoftLockData *prev_slockdata=0, SOP_SoftLockData *new_slockdata=0)
 
virtual void undo ()
 
virtual void redo ()
 
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_UndogetNextUndo ()
 

Protected Types

enum  SOP_UndoModelOperation { SOPUNDOMODEL_UNDO, SOPUNDOMODEL_REDO }
 

Protected Member Functions

int hasSopUndo ()
 
void doUndo (void *modeler)
 
void doRedo (void *modeler)
 
- Protected Member Functions inherited from UT_Undo
void generateTmpFilename (const char *prefix, UT_String &filename)
 

Detailed Description

Definition at line 24 of file SOP_UndoModel.h.

Member Enumeration Documentation

Enumerator
SOPUNDOMODEL_UNDO 
SOPUNDOMODEL_REDO 

Definition at line 43 of file SOP_UndoModel.h.

Constructor & Destructor Documentation

SOP_UndoModel::SOP_UndoModel ( )
virtual SOP_UndoModel::~SOP_UndoModel ( )
virtual

Member Function Documentation

void SOP_UndoModel::doRedo ( void modeler)
protected
void SOP_UndoModel::doUndo ( void modeler)
protected
const char* SOP_UndoModel::getName ( void  )
inline

Definition at line 40 of file SOP_UndoModel.h.

int SOP_UndoModel::hasSopUndo ( )
inlineprotected

Definition at line 49 of file SOP_UndoModel.h.

void SOP_UndoModel::init ( unsigned char  prev_lock,
unsigned char  new_lock,
SOP_Node sop,
SOP_SoftLockData *  prev_slockdata = 0,
SOP_SoftLockData *  new_slockdata = 0 
)
virtual void SOP_UndoModel::redo ( )
virtual

Implements UT_Undo.

void SOP_UndoModel::setName ( const char *  name)
inline

Definition at line 39 of file SOP_UndoModel.h.

virtual void SOP_UndoModel::undo ( )
virtual

Implements UT_Undo.


The documentation for this class was generated from the following file: