36#ifndef CONTROL_COMMAND_MUTATION_H
37#define CONTROL_COMMAND_MUTATION_H
62 template<
typename SIG>
73 throw err::State{
"Lifecycle error: function arguments not ready"
74 ,
LERR_(UNBOUND_ARGUMENTS)};
105 template<
typename SIG,
typename MEM>
116 throw err::State{
"need additional function arguments to be able to capture UNDO state"
117 ,
LERR_(UNBOUND_ARGUMENTS)};
Unspecific command functor for implementing Steam-Layer Command.
void operator()(CmdClosure &clo)
Mutation(function< SIG > const &func)
Specialised version of the command Mutation functor, used to implement the UNDO functionality.
UndoMutation(MementoTie< SIG, MEM > &mementoHolder)
Mutation & captureState(CmdClosure &clo)
A closure enabling self-contained execution of commands within the SteamDispatcher.
Lumiera error handling (C++ interface).
A special binding used by Steam-Layer commands for capturing UNDO state information.
LumieraError< LERR_(STATE)> State
Steam-Layer implementation namespace root.