|
SObjectizer 5.8
|
A mixin which must be used as base class for timer threads. More...
#include <all.hpp>
Classes | |
| class | lock_guard |
| A special wrapper around actual std::unique_lock. More... | |
Public Member Functions | |
| void | ensure_started () |
| Checks that timer thread is really started. | |
| void | notify () |
| Sends notification to timer thread. | |
Public Attributes | |
| std::mutex | m_lock |
| Timer thread's lock. | |
| std::condition_variable | m_condition |
| Condition variable for waiting for next event. | |
| std::shared_ptr< std::thread > | m_thread |
| Underlying thread object. | |
A mixin which must be used as base class for timer threads.
Definition at line 2885 of file 3rd_party/timertt/all.hpp.
|
inline |
Checks that timer thread is really started.
| std::exception | if thread is not started. |
Definition at line 2923 of file 3rd_party/timertt/all.hpp.
|
inline |
Sends notification to timer thread.
Definition at line 2931 of file 3rd_party/timertt/all.hpp.
| std::condition_variable timertt::details::thread_mixin::m_condition |
Condition variable for waiting for next event.
Definition at line 2891 of file 3rd_party/timertt/all.hpp.
| std::mutex timertt::details::thread_mixin::m_lock |
Timer thread's lock.
Definition at line 2888 of file 3rd_party/timertt/all.hpp.
| std::shared_ptr< std::thread > timertt::details::thread_mixin::m_thread |
Underlying thread object.
Definition at line 2898 of file 3rd_party/timertt/all.hpp.