Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
Mutation Class Reference

#include "steam/control/command-mutation.hpp"

Description

Unspecific command functor for implementing Steam-Layer Command.

To be created from an std::function object, which later on gets any necessary arguments from a closure passed in on invocation. The concrete type of the function and the arguments is concealed (erased) on the interface.

Definition at line 57 of file command-mutation.hpp.

Public Member Functions

template<typename SIG >
 Mutation (function< SIG > const &func)
 
void operator() (CmdClosure &clo)
 

Private Attributes

const CmdFunctor func_
 

Constructor & Destructor Documentation

◆ Mutation()

template<typename SIG >
Mutation ( function< SIG > const func)
inline

Definition at line 63 of file command-mutation.hpp.

Member Function Documentation

◆ operator()()

void operator() ( CmdClosure clo)
inline

Definition at line 70 of file command-mutation.hpp.

References Mutation::func_, and LERR_.

Member Data Documentation

◆ func_

const CmdFunctor func_
private

Definition at line 59 of file command-mutation.hpp.

Referenced by Mutation::operator()().

+ Inheritance diagram for Mutation:
+ Collaboration diagram for Mutation:

The documentation for this class was generated from the following file: