rusEFI
The most advanced open source ECU
|
#include <periodic_task.h>
Public Member Functions | |
virtual void | PeriodicTask ()=0 |
virtual int | getPeriodMs ()=0 |
virtual void | start () |
Data Fields | |
virtual_timer_t | timer |
this is an intermediate implementation - we should probably move from using virtual_timer_t which works on interrupts into sharing one thread with potentially lower priority instead
Definition at line 23 of file periodic_task.h.
|
pure virtual |
This method is invoked after corresponding PeriodicTask() invocation
Referenced by runAndScheduleNext().
|
pure virtual |
|
inlinevirtual |
This invokes PeriodicTask() immediately and starts the cycle of invocations and sleeps
Definition at line 40 of file periodic_task.h.
virtual_timer_t PeriodicTimerController::timer |
Definition at line 27 of file periodic_task.h.
Referenced by start().