Lumiera
0.pre.03
»edit your freedom«
|
Bind an undo function and a state capturing function and wire up both to store and retrieve a memento value. Verify that after closing the functions, actually state is captured by each invocation.
Definition at line 82 of file memento-tie-test.cpp.
Private Types | |
typedef MementoTie< OpSIG, int > | MemHolder |
typedef void | OpSIG(short) |
assumed signature of the Command "Operation" | |
Private Member Functions | |
void | checkStateCapturingMechanism () |
virtual void | run (Arg) |