![]() |
Wrapper class for scheduled functions/functors.The FuncWrapper class is a wrapper for any callable function or functor of the following structure: More...
#include <FuncWrapper.h>
Inherits blaze::threadpool::Task.
Public Member Functions | |
Constructor | |
FuncWrapper (Callable func) | |
Constructor for the FuncWrapper class. | |
Destructor | |
virtual | ~FuncWrapper () |
Destructor for the FuncWrapper class. | |
Execution functions | |
virtual void | run () |
Executes the wrapped function/functor. | |
Private Attributes | |
Member variables | |
Callable | func_ |
The wrapped function/functor. | |
Wrapper class for scheduled functions/functors.
The FuncWrapper class is a wrapper for any callable function or functor of the following structure:
|
inlineexplicit |
Constructor for the FuncWrapper class.
func | The given user task. |
|
virtual |