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.
task Class Reference
Scheduler. More...
#include <task.h>
Public Member Functions | |
task (task_priority_t priority) | |
Constructor. | |
virtual | ~task () |
Destructor. | |
virtual uint32_t | task_request_work () const =0 |
Called to check if the task has work. | |
virtual void | task_process_work ()=0 |
Called to get the task to do work. | |
void | set_task_running (bool task_running_) |
Set the running state for the task. | |
bool | task_is_running () const |
Get the running state for the task. | |
etl::task_priority_t | get_task_priority () const |
Get the priority of the task. |
Detailed Description
Scheduler.
Definition at line 61 of file task.h.
Constructor & Destructor Documentation
Member Function Documentation
etl::task_priority_t get_task_priority | ( | ) | const |
void set_task_running | ( | bool | task_running_ ) |
bool task_is_running | ( | ) | const |
virtual void task_process_work | ( | ) | [pure virtual] |
Called to get the task to do work.
virtual uint32_t task_request_work | ( | ) | const [pure virtual] |
Called to check if the task has work.
Returns a score as to the amount of work it has to do.
Generated on Tue Jul 12 2022 14:05:54 by
