|
|
| EventLoop (std::unique_ptr< Thread > thd) |
| |
|
template<typename F , typename... A, typename R = std::invoke_result_t<std::decay_t<F>, std::decay_t<A>...>> |
| R | DoTask (F &&task, A &&... args) |
| |
|
void | Pause () |
| |
|
void | PurgeTasks () |
| |
|
void | PushCyclicTask (const std::function< void()> &cb, std::chrono::nanoseconds period, std::chrono::nanoseconds offset=std::chrono::nanoseconds{0}) |
| |
|
template<typename F , typename... A> |
| void | PushLoopTask (F &&task, A &&... args) |
| |
|
template<typename F , typename... A> |
| void | PushTask (F &&task, A &&... args) |
| |
|
void | Stop () |
| |
|
template<typename F , typename... A, typename R = std::invoke_result_t<std::decay_t<F>, std::decay_t<A>...>> |
| std::future< R > | Submit (F &&task, A &&... args) |
| |
|
void | Unpause () |
| |
|
void | WaitForTasks () noexcept |
| |
The documentation for this class was generated from the following file: