BloombergLP::bdlt::CurrentTime::CurrentTimeCallback

Callback function type that returns the current time as a time interval.

Synopsis

Declared in <bdlt_currenttime.h>

typedef bsls::TimeInterval(* CurrentTimeCallback)();

Description

CurrentTimeCallback is a callback function pointer for a callback function that returns a bsls::TimeInterval object. This function must be thread-safe in multi-threaded builds.