Time Shield Library
C++ library for working with time
|
Classes | |
struct | DueTimer |
Helper structure that represents a timer ready to run. More... | |
struct | RunningTimerScope |
struct | ScheduledComparator |
Comparator that orders timers by earliest fire time. More... | |
struct | ScheduledTimer |
Data stored in the priority queue of scheduled timers. More... | |
struct | TimerState |
Internal state shared between Timer and TimerScheduler. More... | |
Typedefs | |
using | TimerClock = std::chrono::steady_clock |
using | TimerCallback = std::function<void()> |
Functions | |
TimerState *& | current_timer_state () |
using time_shield::detail::TimerCallback = std::function<void()> |
Definition at line 41 of file TimerScheduler.hpp.
using time_shield::detail::TimerClock = std::chrono::steady_clock |
Definition at line 40 of file TimerScheduler.hpp.
|
inline |
Definition at line 57 of file TimerScheduler.hpp.