Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
ischeduler Class Reference
Scheduler base. More...
#include <scheduler.h>
Inherited by scheduler< TSchedulerPolicy, MAX_TASKS_ >.
Public Member Functions | |
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) |
Add a task. | |
template<typename TSize > | |
void | add_task_list (etl::task **p_tasks, TSize size) |
Add a task list. | |
Protected Member Functions | |
ischeduler (etl::ivector< etl::task * > &task_list_) | |
Constructor. |
Detailed Description
Scheduler base.
Definition at line 225 of file scheduler.h.
Constructor & Destructor Documentation
ischeduler | ( | etl::ivector< etl::task * > & | task_list_ ) | [protected] |
Constructor.
Definition at line 317 of file scheduler.h.
Member Function Documentation
void add_task | ( | etl::task & | task ) |
void add_task_list | ( | etl::task ** | p_tasks, |
TSize | size | ||
) |
Add a task list.
Adds to the tasks to the internal task list in priority order. Input order is ignored.
Definition at line 303 of file scheduler.h.
void exit_scheduler | ( | ) |
Force the scheduler to exit.
Definition at line 273 of file scheduler.h.
bool scheduler_is_running | ( | ) | const |
Get the running state for the scheduler.
Definition at line 265 of file scheduler.h.
void set_idle_callback | ( | etl::ifunction< void > & | callback ) |
Set the idle callback.
Definition at line 241 of file scheduler.h.
void set_scheduler_running | ( | bool | scheduler_running_ ) |
Set the running state for the scheduler.
Definition at line 257 of file scheduler.h.
void set_watchdog_callback | ( | etl::ifunction< void > & | callback ) |
Set the watchdog callback.
Definition at line 249 of file scheduler.h.
Generated on Tue Jul 12 2022 14:05:54 by
