Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

Undo Class Reference

#include <undo.h>

Inheritance diagram for Undo:

UndoAdd UndoMove UndoMoveScene UndoNewScene UndoRemove UndoRemoveScene List of all members.

Public Member Functions

virtual void undo (AnimationModel *a)=0
virtual void redo (AnimationModel *a)=0

Detailed Description

Superclass for all undo command objects. The undo objects can be called upon to undo operations the user has done.

The undo command objects work directly on the model, not through the domain DomainFacade, or we would get undos from the undo commands

Author:
Bjoern Erik Nilsen & Fredrik Berg Kjoelstad


Member Function Documentation

virtual void Undo::redo AnimationModel a  )  [pure virtual]
 

Abstract function for redoing (performing) the command represented by this undo object.

Parameters:
a the model to perform the redo command on.

Implemented in UndoAdd, UndoMove, UndoMoveScene, UndoNewScene, UndoRemove, and UndoRemoveScene.

virtual void Undo::undo AnimationModel a  )  [pure virtual]
 

Abstract function for undoing the command represented by this undo object.

Parameters:
a the model to perform the undo command on.

Implemented in UndoAdd, UndoMove, UndoMoveScene, UndoNewScene, UndoRemove, and UndoRemoveScene.


The documentation for this class was generated from the following file:
Generated on Thu May 19 01:51:22 2005 for stopmotion.kdevelop by  doxygen 1.4.2