#include <Job.hpp>
Holds a jobs function pointer and argument tuple, applying the arguments to the function and calling it when execute()
is called.
Inherits jobrocket::JobFunctionBase.
Public Member Functions | |
JobFunction (Fn function, Args &&... args) | |
constexpr uint32_t | size () |
void | execute () override |
Public Attributes | |
Fn | function_ptr |
std::tuple< Args... > | arg_tuple |
|
inlineexplicit |
|
inlineoverridevirtual |
Implements jobrocket::JobFunctionBase.
|
inline |
std::tuple<Args...> jobrocket::JobFunction< Fn, Args >::arg_tuple |
Fn jobrocket::JobFunction< Fn, Args >::function_ptr |