#include <Time.hpp>
Public Member Functions | |
Time | operator+ (const TimeDuration &dur) const |
Time | operator+ (const Time &other) const |
Time & | operator+= (const Time &other) |
Time | operator- (const Time &other) const |
Time | operator- (const double &seconds) const |
bool | operator< (const Time &other) const |
bool | operator== (const Time &other) const |
bool | operator>= (const Time &other) const |
double | seconds () |
void | set (double time) |
void | set (timeval time) |
void | set (UINT64 ntpSeconds, UINT32 ntpFractionalSeconds) |
void | set (UINT64 ntpTime) |
Time () | |
Time (timeval time) | |
std::string | toLongString () const |
std::string | toString () const |
UINT32 | total_milliseconds () |
~Time () | |
Static Public Member Functions | |
static Time | now () |
Static Public Attributes | |
static const UINT64 | secondsFrom1900to1970 |
Private Attributes | |
timeval | m_time |
Static Private Attributes | |
static const double | m_nanosecondsToSecondFractionNTP |
static const double | m_secondFractionNTPtoNanoseconds |
Time::Time | ( | ) |
Time::Time | ( | timeval | time | ) |
Time::~Time | ( | ) |
Time Time::operator+ | ( | const TimeDuration & | dur | ) | const |
double Time::seconds | ( | ) |
std::string Time::toLongString | ( | ) | const |
std::string Time::toString | ( | ) | const |
const double Time::m_nanosecondsToSecondFractionNTP [static, private] |
const double Time::m_secondFractionNTPtoNanoseconds [static, private] |
timeval Time::m_time [private] |
const UINT64 Time::secondsFrom1900to1970 [static] |