TaskManagerIO
Loading...
Searching...
No Matches
TimePeriod Class Reference

#include <TaskManagerIO.h>

Public Member Functions

 TimePeriod (uint32_t amount, TimerUnit unit, bool repeat)
 TimePeriod (const TimePeriod &other)=default
TimePeriodoperator= (const TimePeriod &other)=default
uint32_t getAmount () const
TimerUnit getUnit () const
bool getRepeating () const

Detailed Description

A scheduling object that makes it easier to represent schedules in taskManager, they can be applied in a neater written form that makes for quicker code understanding. The are used along with the helper function to provide a single schedule method. For example: taskManager.schedule(onceMicros(100), [] { workToDo() });.


The documentation for this class was generated from the following files: