OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
OpenSim.Region.Framework.Scenes.UndoRedoState Class Reference

Public Member Functions

 UndoRedoState ()
 creates a new UndoRedoState with default states memory size More...
 
 UndoRedoState (int _size)
 creates a new UndoRedoState with states memory having indicated size More...
 
void Clear ()
 clears all undo and redo entries More...
 
void StoreUndo (SceneObjectPart part, ObjectChangeType change)
 adds a new state undo to part or its group, with changes indicated by what bits More...
 
void Undo (SceneObjectPart part)
 executes last state undo to part or its group current state is pushed into redo More...
 
void Redo (SceneObjectPart part)
 executes last state redo to part or its group current state is pushed into undo More...
 

Public Attributes

LinkedList< UndoStatem_redo = new LinkedList<UndoState>()
 
LinkedList< UndoStatem_undo = new LinkedList<UndoState>()
 

Properties

int Count [get]
 returns number of undo entries in memory More...
 

Detailed Description

Definition at line 149 of file UndoState.cs.

Constructor & Destructor Documentation

OpenSim.Region.Framework.Scenes.UndoRedoState.UndoRedoState ( )
inline

creates a new UndoRedoState with default states memory size

Definition at line 159 of file UndoState.cs.

OpenSim.Region.Framework.Scenes.UndoRedoState.UndoRedoState ( int  _size)
inline

creates a new UndoRedoState with states memory having indicated size

Parameters
size

Definition at line 169 of file UndoState.cs.

Member Function Documentation

void OpenSim.Region.Framework.Scenes.UndoRedoState.Clear ( )
inline

clears all undo and redo entries

Definition at line 190 of file UndoState.cs.

void OpenSim.Region.Framework.Scenes.UndoRedoState.Redo ( SceneObjectPart  part)
inline

executes last state redo to part or its group current state is pushed into undo

Parameters
part

Definition at line 292 of file UndoState.cs.

Here is the call graph for this function:

void OpenSim.Region.Framework.Scenes.UndoRedoState.StoreUndo ( SceneObjectPart  part,
ObjectChangeType  change 
)
inline

adds a new state undo to part or its group, with changes indicated by what bits

Parameters
part
changebit field with what is changed

Definition at line 202 of file UndoState.cs.

Here is the call graph for this function:

void OpenSim.Region.Framework.Scenes.UndoRedoState.Undo ( SceneObjectPart  part)
inline

executes last state undo to part or its group current state is pushed into redo

Parameters
part

Definition at line 245 of file UndoState.cs.

Here is the call graph for this function:

Member Data Documentation

LinkedList<UndoState> OpenSim.Region.Framework.Scenes.UndoRedoState.m_redo = new LinkedList<UndoState>()

Definition at line 152 of file UndoState.cs.

LinkedList<UndoState> OpenSim.Region.Framework.Scenes.UndoRedoState.m_undo = new LinkedList<UndoState>()

Definition at line 153 of file UndoState.cs.

Property Documentation

int OpenSim.Region.Framework.Scenes.UndoRedoState.Count
get

returns number of undo entries in memory

Definition at line 182 of file UndoState.cs.


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