20 #ifndef MIR_TIME_CLOCK_H_ 21 #define MIR_TIME_CLOCK_H_ 33 virtual ~Clock() =
default;
59 #endif // MIR_TIME_CLOCK_H_ All things Mir.
Definition: atomic_callback.h:25
virtual Duration min_wait_until(Timestamp t) const =0
The minimum amount of real time we would have to wait for this clock to reach or surpass the specifie...
Clock & operator=(Clock const &)=delete
std::chrono::steady_clock::time_point Timestamp
Definition: types.h:29
virtual Timestamp now() const =0
The current time according to this clock.
std::chrono::steady_clock::duration Duration
Definition: types.h:30