TTAMachine::Machine * undone_
Undone modification cache for the redo funciton.
static const unsigned int UNDO_STACK_MAX_SIZE
Maximum undo stack size.
std::deque< TTAMachine::Machine * > UndoStack
Machine stack for undo functionality.
ObserverTable observers_
Model observers.
void notifyObservers(bool modified=true)
void addObserver(ModelObserver *observer)
void popFromStack(bool modified=false)
Model & operator=(const Model &)
Assignment not allowed.
TTAMachine::Machine * machine_
Machine assigned for this Model. Singleton within a Model.
unsigned undoStackSize_
Maximum size of the undo stack.
TTAMachine::Machine * getMachine()
std::vector< ModelObserver * > ObserverTable
Table of model observers.