Embedded Template Library 1.0
|
Scheduler. More...
#include <scheduler.h>
Public Types | |
enum | { MAX_TASKS = MAX_TASKS_ } |
Public Member Functions | |
void | start () |
Start the scheduler. More... | |
![]() | |
virtual void | start ()=0 |
void | set_idle_callback (etl::ifunction< void > &callback) |
Set the idle callback. | |
void | set_watchdog_callback (etl::ifunction< void > &callback) |
Set the watchdog callback. | |
void | set_scheduler_running (bool scheduler_running_) |
Set the running state for the scheduler. | |
bool | scheduler_is_running () const |
Get the running state for the scheduler. | |
void | exit_scheduler () |
Force the scheduler to exit. | |
void | add_task (etl::task &task) |
template<typename TSize > | |
void | add_task_list (etl::task **p_tasks, TSize size) |
Additional Inherited Members | |
![]() | |
ischeduler (etl::ivector< etl::task * > &task_list_) | |
Constructor. | |
![]() | |
bool | scheduler_running |
bool | scheduler_exit |
etl::ifunction< void > * | p_idle_callback |
etl::ifunction< void > * | p_watchdog_callback |
Scheduler.
|
inlinevirtual |
Start the scheduler.
Implements etl::ischeduler.