class ValidatedClockInterface
Defined at line 44 of file ../../third_party/cobalt/src/public/lib/clock_interfaces.h
An abstract interface to a clock that refuses to provide the time if a quality condition is not
satisfied; for example, if the clock has not been initialized from a trustworthy source.
Public Methods
std::optional<std::chrono::system_clock::time_point> now ()
Returns the current time if an accurate clock is avaliable or nullopt otherwise.
void ~ValidatedClockInterface ()
Defined at line 46 of file ../../third_party/cobalt/src/public/lib/clock_interfaces.h