iLab Neuromorphic Robotics Toolkit
0.1
|
#include <nrt/Core/Design/details/ThreadHelpers.H>
Wraps up an std::function in a move copyable struct.
Definition at line 46 of file ThreadHelpers.H.
Public Member Functions | |
template<class Func > | |
FunctionWrapper (Func &&f) | |
FunctionWrapper (FunctionWrapper &&other) | |
FunctionWrapper (FunctionWrapper const &other)=delete | |
FunctionWrapper & | operator= (FunctionWrapper const &other)=delete |
FunctionWrapper & | operator= (FunctionWrapper &&other) |
void | operator() () |
Calls the wrapped function. More... | |
|
inline |
Calls the wrapped function.
Definition at line 93 of file ThreadHelpers.H.