#include <thread_pool.hpp>
◆ SingleThreadExecutor()
| threadman::SingleThreadExecutor::SingleThreadExecutor |
( |
std::string |
nm = "tm::single" | ) |
|
|
inlineexplicit |
◆ display_info()
| static const comms::DisplayInfo & threadman::SingleThreadExecutor::display_info |
( |
| ) |
|
|
inlinestatic |
◆ execute()
| void threadman::SingleThreadExecutor::execute |
( |
std::function< void()> |
task | ) |
|
|
inlineoverridevirtual |
◆ name()
| std::string_view threadman::SingleThreadExecutor::name |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ pool()
| ThreadPool & threadman::SingleThreadExecutor::pool |
( |
| ) |
const |
|
inlinenoexcept |
◆ submit()
template<class Fn >
requires std::invocable<Fn>
| auto threadman::SingleThreadExecutor::submit |
( |
Fn && |
f | ) |
-> Future<std::invoke_result_t<Fn>> |
|
inline |
The documentation for this class was generated from the following file: