Class Task

Class Documentation

class BlackBox::Task

Public Functions

Task(std::function<void()> i_functionconst char *const i_name, uint32_t i_stackDepth, UBaseType_t i_priority, )
Task(std::function<void()> i_functionconst char *const i_name, uint32_t i_stackDepth, UBaseType_t i_priority, const uint32_t i_coreID, )
explicit Task(TaskHandle_t *const i_taskHnadle)
Task(Task&&)
Task &operator=(Task&&)
~Task()
TaskHandle_t *raw()
UBaseType_t priority()
void setPriority(UBaseType_t i_priority)
eTaskState state()
void resume()
void suspend()

Public Static Functions

static void trampoline(void *i_functionPtr)
static UBaseType_t priority(const TaskHandle_t *i_taskHandle)
static UBaseType_t IRAM_ATTR priorityFromISR (const TaskHandle_t *i_taskHandle)
static void setPriority(const TaskHandle_t *i_taskHandle, UBaseType_t i_priority)
static eTaskState state(const TaskHandle_t *i_taskHandle)
static void resume(const TaskHandle_t *i_taskHandle)
static BaseType_t IRAM_ATTR resumeFromISR (const TaskHandle_t *i_taskHandle)
static BaseType_t resumeAll()
static void suspend(const TaskHandle_t *i_taskHandle)
static void suspendAll()
static void list(char *o_buffer)