The undo-system interface. Uses the 'memento' pattern. More...
#include <cstddef>
#include <string>
#include "generic/constant.h"
#include "generic/callbackfwd.h"
#include "modulesystem.h"
Go to the source code of this file.
Data Structures | |
class | UndoMemento |
abstract object that should be stored to preserve actual state of an object greebo: An UndoMemento has to be allocated on the heap and contains all the information that is needed to describe the status of an Undoable. More... | |
class | Undoable |
interface to implement to get an UndoMemento for the object implementing this interface to get its current state. More... | |
class | UndoObserver |
class | UndoTracker |
class | UndoSystem |
class | UndoableCommand |
Defines | |
#define | INCLUDED_IUNDO_H |
Typedefs | |
typedef GlobalModule< UndoSystem > | GlobalUndoModule |
typedef GlobalModuleRef < UndoSystem > | GlobalUndoModuleRef |
Functions | |
UndoSystem & | GlobalUndoSystem () |
The undo-system interface. Uses the 'memento' pattern.
Definition in file iundo.h.
typedef GlobalModule<UndoSystem> GlobalUndoModule |
typedef GlobalModuleRef<UndoSystem> GlobalUndoModuleRef |
UndoSystem& GlobalUndoSystem | ( | ) | [inline] |
Definition at line 158 of file iundo.h.
Referenced by Brush::instanceAttach(), Face::instanceAttach(), Brush::instanceDetach(), Face::instanceDetach(), MapRoot::MapRoot(), UndoableCommand::UndoableCommand(), MapRoot::~MapRoot(), and UndoableCommand::~UndoableCommand().