Lumiera  0.pre.03
»edit your freedom«
MementoTie_test Class Reference

Description

Test:
Verify the state capturing mechanism (memento), which is used to implement the Undo() functionality for Steam-Layer commands.

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.

See also
control::Command
control::CmdClosure
control::UndoMutation
command-mutation-test.hpp

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)
 
+ Inheritance diagram for MementoTie_test:
+ Collaboration diagram for MementoTie_test:

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