FreeRTOS task.
More...
#include <Task.h>
FreeRTOS task.
- Note
- Supported by all FreeRTOS platforms
- Author
- Phil Schatzmann
- Copyright
- GPLv3 *
◆ Task() [1/2]
| Task |
( |
const char * |
name, |
|
|
int |
stackSize, |
|
|
int |
priority = 1, |
|
|
int |
core = -1 |
|
) |
| |
|
inline |
Defines and creates a FreeRTOS task.
◆ Task() [2/2]
◆ ~Task()
◆ begin()
| bool begin |
( |
std::function< void()> |
process | ) |
|
|
inlinevirtual |
◆ create()
| bool create |
( |
const char * |
name, |
|
|
int |
stackSize, |
|
|
int |
priority = 1, |
|
|
int |
core = -1 |
|
) |
| |
|
inline |
If you used the empty constructor, you need to call create!
◆ end()
suspends the task
Implements ITask.
◆ getCoreID()
◆ getReference()
◆ getTaskHandle()
◆ nop()
◆ remove()
deletes the FreeRTOS task
◆ resume()
◆ setReference()
| void setReference |
( |
void * |
r | ) |
|
|
inline |
◆ suspend()
◆ task_loop()
| static void task_loop |
( |
void * |
arg | ) |
|
|
inlinestaticprotected |
◆ loop_code
| std::function<void()> loop_code = nop |
|
protected |
◆ ref
◆ xHandle
The documentation for this class was generated from the following file:
- src/AudioTools/Concurrency/RTOS/Task.h