ArPiRobot-CoreLib C++
C++ library for ArPiRobot robots
|
#include <scheduler.hpp>
Public Member Functions | |
Task (const std::function< void()> &&f) | |
virtual sched_clk::time_point | nextRunTime () |
virtual bool | doesRepeat () |
Public Attributes | |
std::function< void()> | targetFunction |
Class to represent a task for the scheduler. Holds the function to be run for this task
Also acts as a common base class for all tasks, including repeated ones.