68 #ifndef CONTROL_COMMAND_CLOSURE_H 69 #define CONTROL_COMMAND_CLOSURE_H 105 explicit operator bool()
const {
return isValid(); }
107 virtual operator string()
const =0;
108 virtual bool isValid ()
const =0;
113 virtual void invoke (CmdFunctor
const&) =0;
virtual void accept(CommandImplCloneBuilder &) const =0
assist with creating clone closure without disclosing concrete type
FunErasure< StoreFunction > CmdFunctor
A neutral container internally holding the functor used to implement the Command. ...
Implementation helper to bind Steam-Layer commands with arbitrary argument tuples.
Steam-Layer implementation namespace root.
virtual bool isCaptured() const =0
does this closure hold captured UNDO state?
virtual void invoke(CmdFunctor const &)=0
invoke functor using the stored parameter values
Generic building block for tree shaped (meta)data structures.
Visitor to support creating a CommandImpl clone.
Generic holder for functor objects, concealing the concrete function type.
virtual bool isValid() const =0
does this closure hold a valid argument tuple?
object-like record of data.
virtual void unbindArguments()=0
discard any parameters and return to unbound state
virtual void bindArguments(Arguments &)=0
store a set of parameter values within this closure