Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/control/command-op-closure.hpp"
closure to deal with the actual command operation.
This includes holding the invocation parameter tuple
Definition at line 137 of file command-op-closure.hpp.
Public Types | |
using | ArgTuple = Tuple< Args > |
Public Member Functions | |
OpClosure (ArgTuple const &args) | |
OpClosure (OpClosure const &)=default | |
OpClosure (OpClosure &&)=default | |
void | invoke (CmdFunctor const &unboundFunctor) |
Core operation: use the embedded argument tuple for invoking a functor. More... | |
bool | isValid () const |
operator string () const | |
OpClosure & | operator= (OpClosure const &)=delete |
we deliberately support immutable types as command arguments | |
OpClosure & | operator= (OpClosure &&)=delete |
Private Types | |
using | Args = typename _Fun< SIG >::Args |
using | Builder = BuildTupleAccessor< ParamAccessor, Args > |
using | ParamStorageTuple = typename Builder::Product |
Private Attributes | |
bool | activated_ |
ParamStorageTuple | params_ |
|
inline |
Core operation: use the embedded argument tuple for invoking a functor.
unboundFunctor | an function object, whose function arguments are required to match the types of the embedded ParamStorageTuple |
Definition at line 185 of file command-op-closure.hpp.