MMDevice 70
MM::ActionLambda Class Referencefinal

Action implementation using std::function to wrap arbitrary callables. More...

#include <Property.h>

Inheritance diagram for MM::ActionLambda:
MM::ActionFunctor

Public Member Functions

template<typename F>
 ActionLambda (F func)
int Execute (PropertyBase *pProp, ActionType eAct) final

Detailed Description

Action implementation using std::function to wrap arbitrary callables.

(It is named "lambda" after its intended use, but can wrap any C++ callable.)

Member Function Documentation

◆ Execute()

int MM::ActionLambda::Execute ( PropertyBase * pProp,
ActionType eAct )
inlinefinalvirtual

Implements MM::ActionFunctor.


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