UndoTracker Class Reference

#include <iundo.h>

Inheritance diagram for UndoTracker:
Inheritance graph
[legend]

Public Member Functions

virtual ~UndoTracker ()
virtual void clear ()=0
 called whenever tracker system should be reseted
virtual void clearRedo ()=0
 called whenever redo states should be reseted
virtual void begin ()=0
 called right before a new action is called, should be used to save current state (e.g. in an UndoMememto)
virtual void undo ()=0
 called whenever an older state should be retrieved
virtual void redo ()=0
 called whenever a previously recorded action is about to be replayed to regenerate a state after undo

Detailed Description

Definition at line 93 of file iundo.h.


Constructor & Destructor Documentation

virtual UndoTracker::~UndoTracker (  )  [inline, virtual]

Definition at line 96 of file iundo.h.


Member Function Documentation

virtual void UndoTracker::begin (  )  [pure virtual]

called right before a new action is called, should be used to save current state (e.g. in an UndoMememto)

Implemented in UndoFileChangeTracker, and UndoSaveStateTracker.

virtual void UndoTracker::clear (  )  [pure virtual]

called whenever tracker system should be reseted

Implemented in UndoFileChangeTracker, and UndoSaveStateTracker.

virtual void UndoTracker::clearRedo (  )  [pure virtual]

called whenever redo states should be reseted

Implemented in UndoFileChangeTracker, and UndoSaveStateTracker.

virtual void UndoTracker::redo (  )  [pure virtual]

called whenever a previously recorded action is about to be replayed to regenerate a state after undo

Implemented in UndoFileChangeTracker, and UndoSaveStateTracker.

virtual void UndoTracker::undo (  )  [pure virtual]

called whenever an older state should be retrieved

Implemented in UndoFileChangeTracker, and UndoSaveStateTracker.


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

Generated by  doxygen 1.6.2