![]() |
Lumiera 0.pre.04~rc.1
»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 127 of file command-op-closure.hpp.
Public Types | |
| using | ArgTuple = Tuple< Args > |
Public Member Functions | |
| OpClosure () | |
| OpClosure (ArgTuple const &args) | |
| OpClosure & | operator= (OpClosure const &)=delete |
| we deliberately support immutable types as command arguments | |
| OpClosure & | operator= (OpClosure &&)=delete |
| OpClosure (OpClosure const &)=default | |
| OpClosure (OpClosure &&)=default | |
| bool | isValid () const |
| void | invoke (CmdFunctor const &unboundFunctor) |
| Core operation: use the embedded argument tuple for invoking a functor. | |
| operator string () const | |
Private Types | |
| using | Args = _Fun< SIG >::Args |
| using | Builder = BuildTupleAccessor< ParamAccessor, Args > |
| using | ParamStorageTuple = Builder::Product |
Private Attributes | |
| ParamStorageTuple | params_ |
| bool | activated_ |
Definition at line 141 of file command-op-closure.hpp.
Definition at line 147 of file command-op-closure.hpp.
Definition at line 129 of file command-op-closure.hpp.
|
private |
Definition at line 130 of file command-op-closure.hpp.
|
private |
Definition at line 132 of file command-op-closure.hpp.
Definition at line 138 of file command-op-closure.hpp.
we deliberately support immutable types as command arguments
Definition at line 160 of file command-op-closure.hpp.
References OpClosure< SIG >::activated_.
|
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 175 of file command-op-closure.hpp.
References OpClosure< SIG >::params_.
Definition at line 183 of file command-op-closure.hpp.
References OpClosure< SIG >::params_.
|
private |
Definition at line 134 of file command-op-closure.hpp.
Referenced by OpClosure< SIG >::invoke(), and OpClosure< SIG >::operator string().
Definition at line 135 of file command-op-closure.hpp.
Referenced by OpClosure< SIG >::isValid().
Collaboration diagram for OpClosure< SIG >: