|
Sese Framework
3.0.0
A cross-platform framework
|
Timeout Event. More...
#include <TimeWheel.h>
Public Types | |
| using | Callback = std::function<void()> |
| Type of the callback function when a timeout event occurs. | |
Public Attributes | |
| int64_t | range {} |
| Total duration of the timeout event. | |
| int64_t | target {} |
| Specific time the timeout event will occur. | |
| bool | repeat {false} |
| Whether to repeat the timeout event after it occurs. | |
| Callback | callback {} |
| Callback function when the timeout event occurs. | |
Timeout Event.
| using sese::TimeoutEvent::Callback = std::function<void()> |
Type of the callback function when a timeout event occurs.
| Callback sese::TimeoutEvent::callback {} |
Callback function when the timeout event occurs.
| int64_t sese::TimeoutEvent::range {} |
Total duration of the timeout event.
Referenced by sese::TimeWheel::delay().
| bool sese::TimeoutEvent::repeat {false} |
Whether to repeat the timeout event after it occurs.
| int64_t sese::TimeoutEvent::target {} |
Specific time the timeout event will occur.