77 static Clock _virtualClock;
89 using core::time::Clock;
Clock(ClockType clockType=ClockType::Virtual)
Constructs a new clock of given clock type (virtual by default).
static DateTime Now()
Current time on the virtual clock.
static Duration WaitUntil(const DateTime &dateTime)
Wait and block until the given date/time is surpassed on the virtual clock.
Duration waitUntil(const DateTime &dateTime) const
Wait and block until the given date/time is surpassed.
DateTime now() const
Current date/time of the clock.
Clock(ClockType clockType=ClockType::Virtual)
Constructs a new clock of given clock type (virtual by default).
void waitFor(const Duration &duration) const
Wait for a certain duration.
static void WaitFor(const Duration &duration)
Wait for a certain duration on the virtual clock.
Represents a point in time.
ClockType
Describes the type of clock.
@ Virtual
Time given by time server if configured, realtime otherwise.
This file offers overloads of toIce() and fromIce() functions for STL container types.