Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HUndoItem Class Reference

#include <HUndoManager.h>

Inheritance diagram for HUndoItem:

HUndoItemCamera HUndoItemMatrix

List of all members.

Public Member Functions

virtual const char * GetName ()
 HUndoItem ()
virtual void Redo (bool setupOnly=false)
virtual void Undo (bool setupOnly=false)


Detailed Description

HUndoItem is the base class for all undo items which hold information necessary to perform a rollback of a particular scene. Use this class as a base class when you want to create new undo items to be managed by the HUndoManager.

Constructor & Destructor Documentation

HUndoItem::HUndoItem (  )  [inline]

Constructs an HUndoItem object.


Member Function Documentation

virtual const char* HUndoItem::GetName (  )  [inline, virtual]

Returns:
The item type name which is 'HUndoItem'.

Reimplemented in HUndoItemCamera, and HUndoItemMatrix.

virtual void HUndoItem::Redo ( bool  setupOnly = false  )  [inline, virtual]

This method restores the conditions just before the undo method was called.

Parameters:
setupOnly Pass true if you want to perform the redo without updating the view. The default value is false.

Reimplemented in HUndoItemCamera, and HUndoItemMatrix.

virtual void HUndoItem::Undo ( bool  setupOnly = false  )  [inline, virtual]

This method restores the conditions captured by the item when it was first created.

Parameters:
setupOnly Pass true if you want to perform the undo without updating the view. The default value is false.

Reimplemented in HUndoItemCamera, and HUndoItemMatrix.


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