Metronome(const Frequency &targetFrequency, ClockType clockType=ClockType::Virtual)
Clock to get date/time from a specific clock type or wait for certain durations or until certain date...
ClockType
Describes the type of clock.
@ Virtual
Time given by time server if configured, realtime otherwise.
Duration waitForNextTick()
Wait and block until the target period is met.
Represents a point in time.
Simple rate limiter for use in loops to maintain a certain frequency given a clock.
void reset()
Resets the rate limiter so that the next targetted time point will be in the current time plus the ta...
This file offers overloads of toIce() and fromIce() functions for STL container types.