Cheetah Software
1.0
|
#include <PeriodicTask.h>
Public Member Functions | |
PeriodicFunction (PeriodicTaskManager *taskManager, float period, std::string name, void(*function)()) | |
void | cleanup () |
void | init () |
void | run () |
~PeriodicFunction () | |
Public Member Functions inherited from PeriodicTask | |
PeriodicTask (PeriodicTaskManager *taskManager, float period, std::string name) | |
void | start () |
void | stop () |
void | printStatus () |
void | clearMax () |
bool | isSlow () |
virtual | ~PeriodicTask () |
float | getPeriod () |
float | getRuntime () |
float | getMaxPeriod () |
float | getMaxRuntime () |
Private Attributes | |
void(* | _function )() = nullptr |
A periodic task for calling a function
Definition at line 73 of file PeriodicTask.h.
|
inline |
Definition at line 75 of file PeriodicTask.h.
|
inline |
Definition at line 82 of file PeriodicTask.h.
References PeriodicTask::stop().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
private |
Definition at line 85 of file PeriodicTask.h.