
log4cpp:TimeStamp (3)
NAME
log4cpp::TimeStamp - A simple TimeStamp abstraction.
SYNOPSIS
#include <TimeStamp.hh>
Public Methods
TimeStamp ()
Constructs a TimeStamp representing 'now'.
TimeStamp (unsigned int seconds, unsigned int microSeconds=0)
Constructs a TimeStamp representing the given offset since the
epoch ( 00:00:00 1970/1/1 UTC).
int getSeconds () const
int getMilliSeconds () const
int getMicroSeconds () const
Static Public Methods
const TimeStamp & getStartTime ()
Protected Attributes
int _seconds
int _microSeconds
Static Protected Attributes
TimeStamp _startStamp
DETAILED DESCRIPTION
A simple TimeStamp abstraction.
CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
log4cpp::TimeStamp::TimeStamp ()
Constructs a TimeStamp representing 'now'.
log4cpp::TimeStamp::TimeStamp (unsigned int seconds, unsigned int
microSeconds = 0)
Constructs a TimeStamp representing the given offset since the epoch (
00:00:00 1970/1/1 UTC).
MEMBER FUNCTION DOCUMENTATION
int log4cpp::TimeStamp::getMicroSeconds () const [inline]
int log4cpp::TimeStamp::getMilliSeconds () const [inline]
int log4cpp::TimeStamp::getSeconds () const [inline]
const TimeStamp& log4cpp::TimeStamp::getStartTime () [inline, static]
MEMBER DATA DOCUMENTATION
int log4cpp::TimeStamp::_microSeconds [protected]
int log4cpp::TimeStamp::_seconds [protected]
TimeStamp log4cpp::TimeStamp::_startStamp [static, protected]
AUTHOR
Generated automatically by Doxygen for log4cpp from the source code.