Thrill
0.1
|
struct for timer callbacks
Definition at line 762 of file dispatcher.hpp.
#include <dispatcher.hpp>
Public Member Functions | |
Timer (const steady_clock::time_point &_next_timeout, const milliseconds &_timeout, const TimerCallback &_cb) | |
bool | operator< (const Timer &b) const |
Public Attributes | |
TimerCallback | cb |
callback More... | |
steady_clock::time_point | next_timeout |
timepoint of next timeout More... | |
milliseconds | timeout |
relative timeout for restarting More... | |
|
inline |
Definition at line 770 of file dispatcher.hpp.
|
inline |
Definition at line 778 of file dispatcher.hpp.
References Dispatcher::Timer::next_timeout.
steady_clock::time_point next_timeout |
timepoint of next timeout
Definition at line 764 of file dispatcher.hpp.
Referenced by Dispatcher::Dispatch(), and Dispatcher::Timer::operator<().
milliseconds timeout |
relative timeout for restarting
Definition at line 766 of file dispatcher.hpp.
Referenced by Dispatcher::Dispatch().