#include <thread_messaging.h>
◆ ThreadMessaging()
threading::ThreadMessaging::ThreadMessaging |
( |
uint16_t |
num_task_queues | ) |
|
|
inline |
◆ ~ThreadMessaging()
threading::ThreadMessaging::~ThreadMessaging |
( |
| ) |
|
|
inline |
◆ add_task()
template<typename Payload >
void threading::ThreadMessaging::add_task |
( |
uint16_t |
tid, |
|
|
std::unique_ptr< Tmsg< Payload > > |
msg |
|
) |
| |
|
inline |
◆ add_task_after()
template<typename Payload >
TaskQueue::TimerEntry threading::ThreadMessaging::add_task_after |
( |
std::unique_ptr< Tmsg< Payload > > |
msg, |
|
|
std::chrono::milliseconds |
ms |
|
) |
| |
|
inline |
◆ cancel_timer_task()
◆ get_current_time_offset()
std::chrono::milliseconds threading::ThreadMessaging::get_current_time_offset |
( |
| ) |
|
|
inline |
◆ get_execution_thread()
uint16_t threading::ThreadMessaging::get_execution_thread |
( |
uint32_t |
i | ) |
|
|
inline |
◆ init()
static void threading::ThreadMessaging::init |
( |
uint16_t |
num_task_queues | ) |
|
|
inlinestatic |
◆ instance()
◆ run()
void threading::ThreadMessaging::run |
( |
| ) |
|
|
inline |
◆ run_one()
bool threading::ThreadMessaging::run_one |
( |
| ) |
|
|
inline |
◆ set_finished()
void threading::ThreadMessaging::set_finished |
( |
bool |
v = true | ) |
|
|
inline |
◆ shutdown()
static void threading::ThreadMessaging::shutdown |
( |
| ) |
|
|
inlinestatic |
◆ thread_count()
uint16_t threading::ThreadMessaging::thread_count |
( |
| ) |
const |
|
inline |
◆ tick()
void threading::ThreadMessaging::tick |
( |
std::chrono::milliseconds |
elapsed | ) |
|
|
inline |
◆ tick_cb()
static void threading::ThreadMessaging::tick_cb |
( |
std::unique_ptr< Tmsg< TickMsg > > |
msg | ) |
|
|
inlinestatic |
◆ max_num_threads
constexpr uint16_t threading::ThreadMessaging::max_num_threads = 24 |
|
staticconstexpr |
The documentation for this class was generated from the following file: