39 template <
typename Callable>
42 return std::make_shared<Tasks::GenericTask>(callable);
48 std::function<bool(void)>
fct_;
This is the header file for a generated source file, GitSHA1.cpp.
std::shared_ptr< Task > TaskPtr
GenericTask(const std::function< bool(void)> &fct)
static TaskPtr build(const Callable &callable)
A base class for a tasks.
std::function< bool(void)> fct_
This task type is used whenever a lambda is passed to the scheduler.