|
Ring Daemon
|
#include <threadloop.h>


Public Member Functions | |
| void | interrupt () noexcept |
| InterruptedThreadLoop (const std::function< bool()> &setup, const std::function< void()> &process, const std::function< void()> &cleanup) | |
| void | stop () override |
| template<typename Pred > | |
| void | wait (Pred &&pred) |
| template<typename Rep , typename Period > | |
| void | wait_for (const std::chrono::duration< Rep, Period > &rel_time) |
| template<typename Rep , typename Period , typename Pred > | |
| bool | wait_for (const std::chrono::duration< Rep, Period > &rel_time, Pred &&pred) |
Public Member Functions inherited from jami::ThreadLoop | |
| void | exit () |
| std::thread::id | get_id () const noexcept |
| bool | isRunning () const noexcept |
| bool | isStopping () const noexcept |
| void | join () |
| void | start () |
| ThreadLoop (const std::function< bool()> &setup, const std::function< void()> &process, const std::function< void()> &cleanup) | |
| void | waitForCompletion () |
| virtual | ~ThreadLoop () |
Additional Inherited Members | |
Public Types inherited from jami::ThreadLoop | |
| enum class | ThreadState : uint8_t { READY , RUNNING , STOPPING } |
Definition at line 76 of file threadloop.h.
|
inline |
Definition at line 79 of file threadloop.h.
|
inlinenoexcept |
Definition at line 87 of file threadloop.h.
|
overridevirtual |
Reimplemented from jami::ThreadLoop.
Definition at line 124 of file threadloop.cpp.
References jami::ThreadLoop::stop().

Definition at line 110 of file threadloop.h.
References jami::emitSignal(), jami::ThreadLoop::get_id(), and jami::ThreadLoop::isStopping().

|
inline |
Definition at line 90 of file threadloop.h.
References jami::emitSignal(), jami::ThreadLoop::get_id(), and jami::ThreadLoop::isStopping().

|
inline |
Definition at line 100 of file threadloop.h.
References jami::emitSignal(), jami::ThreadLoop::get_id(), and jami::ThreadLoop::isStopping().
