|
SObjectizer
5.5
|
An actual implementation of timer thread. More...
Public Member Functions | |
| actual_thread_t (std::unique_ptr< Timer_Thread > thread) | |
| Initializing constructor. More... | |
| virtual void | start () override |
| Launch timer. More... | |
| virtual void | finish () override |
| Finish timer and wait for full stop. More... | |
| virtual timer_id_t | schedule (const std::type_index &type_index, const mbox_t &mbox, const message_ref_t &msg, std::chrono::steady_clock::duration pause, std::chrono::steady_clock::duration period) override |
| Push delayed/periodic message to the timer queue. More... | |
| virtual void | schedule_anonymous (const std::type_index &type_index, const mbox_t &mbox, const message_ref_t &msg, std::chrono::steady_clock::duration pause, std::chrono::steady_clock::duration period) override |
| Push anonymous delayed/periodic message to the timer queue. More... | |
| virtual timer_thread_stats_t | query_stats () override |
| Get statistics for run-time monitoring. More... | |
Public Member Functions inherited from so_5::timer_thread_t | |
| timer_thread_t ()=default | |
| virtual | ~timer_thread_t ()=default |
Private Types | |
| typedef actual_timer_t< Timer_Thread > | timer_demand_t |
Private Attributes | |
| std::unique_ptr< Timer_Thread > | m_thread |
An actual implementation of timer thread.
| Timer_Thread | A type of timertt-based thread which implements timers. |
|
private |
|
inline |
Initializing constructor.
| thread | Real timer thread. |
|
inlineoverridevirtual |
Finish timer and wait for full stop.
Implements so_5::timer_thread_t.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Push delayed/periodic message to the timer queue.
A timer can be deactivated later by using returned timer_id.
Implements so_5::timer_thread_t.
|
inlineoverridevirtual |
Push anonymous delayed/periodic message to the timer queue.
A timer cannot be deactivated later.
Implements so_5::timer_thread_t.
|
inlineoverridevirtual |
Launch timer.
Implements so_5::timer_thread_t.
|
private |
1.8.14