|
Zappy Server
C++ game server: world, rules, scheduler, network
|
A callback and the time it should fire. Min-heap ordered by fireAt. More...
#include <Scheduler.hpp>
Collaboration diagram for TimedEvent:Public Member Functions | |
| bool | operator> (const TimedEvent &other) const |
Public Attributes | |
| std::chrono::steady_clock::time_point | fireAt |
| std::function< void()> | callback |
A callback and the time it should fire. Min-heap ordered by fireAt.
Definition at line 8 of file Scheduler.hpp.
|
inline |
Definition at line 11 of file Scheduler.hpp.
References fireAt.
| std::function<void()> TimedEvent::callback |
Definition at line 10 of file Scheduler.hpp.
| std::chrono::steady_clock::time_point TimedEvent::fireAt |
Definition at line 9 of file Scheduler.hpp.
Referenced by operator>().