senf::log::TimeSource Struct Reference
[Configuration]

Log message time source abstract base class. More...

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

Inheritance diagram for senf::log::TimeSource:
Inheritance graph
[legend]

List of all members.


Detailed Description

Log message time source abstract base class.

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 ()

Constructor & Destructor Documentation

senf::log::TimeSource::
~TimeSource ()

Definition at line 40 of file TimeSource.cc.


Member Function Documentation

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.


The documentation for this struct was generated from the following files: