29#ifndef ETL_TASK_INCLUDED
30#define ETL_TASK_INCLUDED
119 return task_priority;
Base exception class for task.
Definition task.h:44
Task.
Definition task.h:59
void set_task_running(bool task_running_)
Set the running state for the task.
Definition task.h:100
virtual void on_task_added()
Called when the task has been added to the scheduler.
Definition task.h:92
virtual uint32_t task_request_work() const =0
etl::task_priority_t get_task_priority() const
Definition task.h:117
task(task_priority_t priority)
Constructor.
Definition task.h:65
virtual ~task()
Destructor.
Definition task.h:74
bool task_is_running() const
Get the running state for the task.
Definition task.h:108
virtual void task_process_work()=0
Called to get the task to do work.
Definition exception.h:47
bitset_ext
Definition absolute.h:38
pair holds two objects of arbitrary type
Definition utility.h:164