|
tin
1.5.9
|
#include <freertos.h>

Public Member Functions | |
| freertos_task_executor (Tasks &... tasks) | |
| freertos_task_executor (freertos_task_executor const &)=delete | |
| freertos_task_executor & | operator= (freertos_task_executor const &)=delete |
| ~freertos_task_executor () | |
| void | start (char const *name="tsm_exec", uint16_t stack_depth=configMINIMAL_STACK_SIZE, UBaseType_t priority=tskIDLE_PRIORITY+1U) |
| void | stop () |
| void | wake () |
| void | wake_from_isr () |
| void | wait_for_work () |
| bool | step () |
| std::size_t | run_ready () |
| std::size_t | tick (tsm::tick_rep elapsed_ticks=1U) |
| std::size_t | tick (tsm::tick_count elapsed_ticks) |
| void | start_all () |
| template<auto Entry, std::size_t Instance = 0U> | |
| spawn_result | start () |
| template<auto Entry, typename... Args> | |
| spawn_result | spawn (Args &&... args) |
| runtime::task_spawner< freertos_task_executor > | spawner () |
| template<auto Entry, std::size_t Instance = 0U> | |
| task_status | task_status () const |
| template<auto Entry, std::size_t Instance = 0U> | |
| task_failure_reason | task_failure_reason () const |
| template<auto Entry, std::size_t Instance = 0U> | |
| bool | cancel () noexcept |
| void | cancel_all () noexcept |
Protected Member Functions | |
| void | run_task () |
Static Protected Member Functions | |
| static void | task_entry (void *pv_parameters) |
Protected Attributes | |
| tsm::runtime::cooperative_executor< Tasks... > | ready_ |
| TaskHandle_t | task_handle_ {} |
| BaseType_t | stop_requested_ { pdTRUE } |
FreeRTOS task executor.
The executor owns one FreeRTOS task that drains one or more tsm runtimes through the same step / run_ready contract used by the host and bare-metal executors. Runtimes still own their HSMs and queues.
|
inlineexplicit |
|
delete |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
delete |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |