|
SObjectizer
5.8
|
A special storage for holding timer actions. More...
#include <all.hpp>
Public Member Functions | |
| timer_action_holder ()=default | |
| timer_action_holder (const timer_action_holder &)=delete | |
| timer_action_holder (timer_action_holder &&)=delete | |
| void | assign (Action_Type &&action) |
| void | exec () const |
Private Attributes | |
| buffer_allocated_object< Action_Type > | m_action |
A special storage for holding timer actions.
If a timer action is represented by std::function<void()> then a simple std::function can be used for holding this timer action. But if a timer action is represented by some user type then we must use a internal buffer and should construct timer action instance inplace only when it is necessary.
Definition at line 632 of file 3rd_party/timertt/all.hpp.
|
default |
|
delete |
|
delete |
|
inline |
Definition at line 642 of file 3rd_party/timertt/all.hpp.
|
inline |
Definition at line 648 of file 3rd_party/timertt/all.hpp.
|
private |
Definition at line 634 of file 3rd_party/timertt/all.hpp.