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