Set the callback used to retrieve the current time.
Declared in <bdlt_currenttime.h>
static
CurrentTime::CurrentTimeCallback
setCurrentTimeCallback(CurrentTimeCallback callback);
Set the specified callback as the function to be used to retrieve the interval between EpochUtil::epoch() and the current date/time, and return the previously set function.
the previously installed current-time callback function
| Name | Description |
|---|---|
| callback | function used to retrieve the current time |