27 #ifndef EMBB_BASE_FUNCTION_H_ 28 #define EMBB_BASE_FUNCTION_H_ 93 template <
typename ReturnType, ...>
101 template <
class ClassType>
103 ClassType
const & obj
111 ReturnType(*func)(...)
118 template <
class ClassType>
121 ReturnType(ClassType::*func)(...)
141 ReturnType(*func)(...)
163 ReturnType operator () (...);
178 template <
class ClassType,
typename ReturnType, ...>
182 ReturnType(ClassType::*func)([Arg1, ..., Arg5])
196 template <
typename ReturnType, ...>
198 ReturnType(*func)([Arg1, ..., Arg5])
217 template <
typename ReturnType, UnboundArgument, Arg1, ...>
219 Function<ReturnType, Arg1[, ..., Arg5]> func,
233 #include <embb/base/internal/function0.h> 234 #include <embb/base/internal/function1.h> 235 #include <embb/base/internal/function2.h> 236 #include <embb/base/internal/function3.h> 237 #include <embb/base/internal/function4.h> 238 #include <embb/base/internal/function5.h> 242 #endif // EMBB_BASE_FUNCTION_H_ Definition: lock_free_mpmc_queue.h:40
static Arg_2 _2
Placeholder variable to be used in Bind() for keeping one argument unbound.
Definition: function.h:61
Function< ReturnType[, UnboundArgument]> Bind(Function< ReturnType, Arg1[,..., Arg5]> func, Arg1 value1,...)
Binds given values as arguments of func into a new Function.
Function< ReturnType,[Arg1,..., Arg5]> MakeFunction(ReturnType(*func)([Arg1,..., Arg5]))
Wraps a function pointer into a Function.
static Arg_1 _1
Placeholder variable to be used in Bind() for keeping one argument unbound.
Definition: function.h:56
static Arg_4 _4
Placeholder variable to be used in Bind() for keeping one argument unbound.
Definition: function.h:71
static Arg_3 _3
Placeholder variable to be used in Bind() for keeping one argument unbound.
Definition: function.h:66
static Arg_5 _5
Placeholder variable to be used in Bind() for keeping one argument unbound.
Definition: function.h:76
Wraps function pointers, member function pointers, and functors with up to five arguments.
Definition: function.h:94
Provides placeholders for Function arguments used in Bind()
Definition: function.h:45