Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
A special binding used by Steam-Layer commands for capturing UNDO state information.
The UndoMutation, which is the functor object created and configured by the Command for handling UNDO, utilises a MementoTie (as ctor parameter) for binding together the "undo capture function" and the actual "undo function", by retrieving the memento data or memento object from the former and feeding it to the latter as an additional parameter, when the undo operation is invoked.
Definition in file memento-tie.hpp.
#include "lib/meta/maybe-compare.hpp"
#include "lib/meta/function-closure.hpp"
#include "steam/control/command-signature.hpp"
#include "lib/replaceable-item.hpp"
#include "lib/format-obj.hpp"
#include "lib/util.hpp"
#include <boost/operators.hpp>
#include <functional>
#include <string>
Classes | |
class | MementoTie< SIG, MEM > |
Binding together state capturing and execution of the undo operation. More... | |
Namespaces | |
steam | |
Steam-Layer implementation namespace root. | |
steam::control | |
Steam-Layer dispatcher, controller and administrative facilities. | |