Class · aurore

aurore::RepeatingTask

On this page
aurore/core/task.hpp
#include <aurore/core/task.hpp>

class aurore::RepeatingTask : private aurore::RepeatingTimer

Constructors 1

RepeatingTask(Time period)

Create a RepeatingTask with the given period in ms.

The task is guaranteed to wait for at least the given period of time between handler runs, but it can wait for slightly longer (usually less than a ms late)

task.hpp:34

Functions 3

virtual void run() =0

Task handler executed repeatedly on the main thread at the given period.

task.hpp:39
void start()

Starts the task.

task.hpp:44
void stop()

Stops the task.

task.hpp:49

Also the functions of aurore::RepeatingTimer (6), aurore::Ticking (5).

Read from Aurore's headers by Doxygen at each build · library/include