#include <senf/Utils/Logger/TimeSource.hh>

Instances derived from TimeSource provide the Logging library with the current date/time value. The operator() member must be implemented to return the current universal time (UTC).
A new TimeSource may be installed using senf::log::timeSource().
Definition at line 52 of file TimeSource.hh.
Public Member Functions |
|
| virtual | ~TimeSource () |
| virtual time_type | operator() () const =0 |
Static Public Member Functions |
|
| static time_type | now () |
| senf::log::TimeSource:: | ||||
| ~TimeSource | () | |||
Definition at line 40 of file TimeSource.cc.
| senf::log::time_type senf::log::TimeSource:: | ||||
| now | () | |||
Definition at line 53 of file TimeSource.cci.
| virtual time_type senf::log::TimeSource:: | ||||
| operator() | () | |||
Implemented in senf::log::SystemTimeSource.