#include <llundo.h>

Public Member Functions | |
| LLUndoBuffer (LLUndoAction(*create_func()), S32 initial_count) | |
| virtual | ~LLUndoBuffer () |
| LLUndoAction * | getNextAction (BOOL setClusterBegin=TRUE) |
| BOOL | undoAction () |
| BOOL | redoAction () |
| BOOL | canUndo () |
| BOOL | canRedo () |
| void | flushActions () |
Private Attributes | |
| LLUndoAction ** | mActions |
| S32 | mNumActions |
| S32 | mNextAction |
| S32 | mLastAction |
| S32 | mFirstAction |
| S32 | mOperationID |
Classes | |
| class | LLUndoAction |
Definition at line 36 of file llundo.h.
| LLUndoBuffer::LLUndoBuffer | ( | LLUndoAction(* | create_func | ) |
Definition at line 42 of file llundo.cpp.
References i, llendl, llerrs, mActions, mFirstAction, mLastAction, mNextAction, mNumActions, mOperationID, and S32.
| LLUndoBuffer::~LLUndoBuffer | ( | ) | [virtual] |
| LLUndoBuffer::LLUndoAction * LLUndoBuffer::getNextAction | ( | BOOL | setClusterBegin = TRUE |
) |
Definition at line 80 of file llundo.cpp.
References LLUndoBuffer::LLUndoAction::cleanup(), mActions, LLUndoBuffer::LLUndoAction::mClusterID, mFirstAction, mLastAction, mNextAction, mNumActions, and mOperationID.
Referenced by LLPanelEditWearable::addVisualParamToUndoBuffer().


| BOOL LLUndoBuffer::undoAction | ( | ) |
Definition at line 105 of file llundo.cpp.
References canUndo(), FALSE, mActions, mFirstAction, mNextAction, mNumActions, mOperationID, S32, TRUE, and LLUndoBuffer::LLUndoAction::undo().
Referenced by LLPanelEditWearable::undo().


| BOOL LLUndoBuffer::redoAction | ( | ) |
Definition at line 141 of file llundo.cpp.
References canRedo(), FALSE, mActions, mLastAction, mNextAction, mNumActions, mOperationID, LLUndoBuffer::LLUndoAction::redo(), and TRUE.
Referenced by LLPanelEditWearable::redo().


| BOOL LLUndoBuffer::canUndo | ( | ) | [inline] |
Definition at line 59 of file llundo.h.
References mFirstAction, and mNextAction.
Referenced by LLPanelEditWearable::canUndo(), and undoAction().

| BOOL LLUndoBuffer::canRedo | ( | ) | [inline] |
Definition at line 60 of file llundo.h.
References mLastAction, and mNextAction.
Referenced by LLPanelEditWearable::canRedo(), and redoAction().

| void LLUndoBuffer::flushActions | ( | ) |
Definition at line 169 of file llundo.cpp.
References LLUndoBuffer::LLUndoAction::cleanup(), i, mActions, mFirstAction, mLastAction, mNextAction, mNumActions, mOperationID, and S32.
Referenced by LLPanelEditWearable::setWearable().


LLUndoAction** LLUndoBuffer::mActions [private] |
Definition at line 65 of file llundo.h.
Referenced by flushActions(), getNextAction(), LLUndoBuffer(), redoAction(), undoAction(), and ~LLUndoBuffer().
S32 LLUndoBuffer::mNumActions [private] |
Definition at line 66 of file llundo.h.
Referenced by flushActions(), getNextAction(), LLUndoBuffer(), redoAction(), undoAction(), and ~LLUndoBuffer().
S32 LLUndoBuffer::mNextAction [private] |
Definition at line 67 of file llundo.h.
Referenced by canRedo(), canUndo(), flushActions(), getNextAction(), LLUndoBuffer(), redoAction(), and undoAction().
S32 LLUndoBuffer::mLastAction [private] |
Definition at line 68 of file llundo.h.
Referenced by canRedo(), flushActions(), getNextAction(), LLUndoBuffer(), and redoAction().
S32 LLUndoBuffer::mFirstAction [private] |
Definition at line 69 of file llundo.h.
Referenced by canUndo(), flushActions(), getNextAction(), LLUndoBuffer(), and undoAction().
S32 LLUndoBuffer::mOperationID [private] |
Definition at line 70 of file llundo.h.
Referenced by flushActions(), getNextAction(), LLUndoBuffer(), redoAction(), and undoAction().
1.5.5