MMDevice
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MM::ActionLambda Class Referencefinal

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

#include <Property.h>

Inherits MM::ActionFunctor.

Public Member Functions

template<typename F >
 ActionLambda (F func)
 
int Execute (PropertyBase *pProp, ActionType eAct) final
 
- Public Member Functions inherited from MM::ActionFunctor
virtual ~ActionFunctor ()
 

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.)

Constructor & Destructor Documentation

◆ ActionLambda()

template<typename F >
MM::ActionLambda::ActionLambda ( F func)
inlineexplicit

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: