OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
OpenSim.Region.Framework.Scenes.UndoState Class Reference
Collaboration diagram for OpenSim.Region.Framework.Scenes.UndoState:
Collaboration graph
[legend]

Public Member Functions

 UndoState (SceneObjectPart part, ObjectChangeType change)
 Constructor. More...
 
bool checkExpire ()
 check if undo or redo is too old More...
 
void updateExpire ()
 updates undo or redo creation time to now More...
 
bool Compare (SceneObjectPart part, ObjectChangeType change)
 Compare the relevant state in the given part to this state. More...
 
void PlayState (SceneObjectPart part)
 executes the undo or redo to a part or its group More...
 

Public Attributes

ObjectChangeData data
 
DateTime creationtime
 

Detailed Description

Definition at line 38 of file UndoState.cs.

Constructor & Destructor Documentation

OpenSim.Region.Framework.Scenes.UndoState.UndoState ( SceneObjectPart  part,
ObjectChangeType  change 
)
inline

Constructor.

Parameters
part
changebit field with what is changed

Definition at line 50 of file UndoState.cs.

Member Function Documentation

bool OpenSim.Region.Framework.Scenes.UndoState.checkExpire ( )
inline

check if undo or redo is too old

Definition at line 79 of file UndoState.cs.

Here is the caller graph for this function:

bool OpenSim.Region.Framework.Scenes.UndoState.Compare ( SceneObjectPart  part,
ObjectChangeType  change 
)
inline

Compare the relevant state in the given part to this state.

Parameters
part
Returns
true what fiels and related data are equal, False otherwise.

Definition at line 101 of file UndoState.cs.

Here is the caller graph for this function:

void OpenSim.Region.Framework.Scenes.UndoState.PlayState ( SceneObjectPart  part)
inline

executes the undo or redo to a part or its group

Parameters
part

Definition at line 135 of file UndoState.cs.

void OpenSim.Region.Framework.Scenes.UndoState.updateExpire ( )
inline

updates undo or redo creation time to now

Definition at line 90 of file UndoState.cs.

Member Data Documentation

DateTime OpenSim.Region.Framework.Scenes.UndoState.creationtime

Definition at line 43 of file UndoState.cs.

ObjectChangeData OpenSim.Region.Framework.Scenes.UndoState.data

Definition at line 42 of file UndoState.cs.


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