#include <Time.h>
Public Member Functions | |
| COMMON_EXPORT | timeStamp () |
| COMMON_EXPORT | timeStamp (int64_t iTime, const timeUnit &u, timeBase b) |
| COMMON_EXPORT | timeStamp (int iTime, const timeUnit &u, timeBase b) |
| COMMON_EXPORT | timeStamp (const timeLength &tl, timeBase b) |
| COMMON_EXPORT | timeStamp (double dTime, const timeUnit &u, timeBase b) |
| COMMON_EXPORT double | getD (const timeUnit &u, timeBase b) const |
| COMMON_EXPORT int64_t | getI (const timeUnit &u, timeBase b) const |
| COMMON_EXPORT int64_t | get_ns () const |
| COMMON_EXPORT bool | isInitialized () const |
Static Public Member Functions | |
| static COMMON_EXPORT const timeStamp & | ts1800 () |
| static COMMON_EXPORT const timeStamp & | ts1970 () |
| static COMMON_EXPORT const timeStamp & | tsStd () |
| static COMMON_EXPORT const timeStamp & | ts2200 () |
| static COMMON_EXPORT const timeStamp & | tsLongAgoTime () |
| static COMMON_EXPORT const timeStamp & | tsFarOffTime () |
Protected Member Functions | |
| COMMON_EXPORT void | assign (const int64_t v) |
| COMMON_EXPORT int64_t | getRolloverTime (double t) |
Private Member Functions | |
| COMMON_EXPORT void | initI (int64_t iTime, const timeUnit &u, timeBase b) |
| COMMON_EXPORT | timeStamp (int64_t ns_) |
Static Private Member Functions | |
| static COMMON_EXPORT const timeStamp * | ts1800Help () |
| static COMMON_EXPORT const timeStamp * | ts1970Help () |
| static COMMON_EXPORT const timeStamp * | tsStdHelp () |
| static COMMON_EXPORT const timeStamp * | ts2200Help () |
Static Private Attributes | |
| static COMMON_EXPORT const timeStamp * | _ts1800 = NULL |
| static COMMON_EXPORT const timeStamp * | _ts1970 = NULL |
| static COMMON_EXPORT const timeStamp * | _tsStd = NULL |
| static COMMON_EXPORT const timeStamp * | _ts2200 = NULL |
Friends | |
| COMMON_EXPORT const timeStamp | operator+= (timeStamp &ts, timeLength tl) |
| COMMON_EXPORT const timeStamp | operator-= (timeStamp &ts, timeLength tl) |
| COMMON_EXPORT const timeLength | operator- (const timeStamp &a, const timeStamp &b) |
| COMMON_EXPORT const timeStamp | operator+ (const timeStamp &a, const timeLength &b) |
| COMMON_EXPORT const timeStamp | operator- (const timeStamp &a, const timeLength &b) |
| COMMON_EXPORT const timeStamp | operator+ (const timeLength &a, const timeStamp &b) |
Definition at line 214 of file Time.h.
| timeStamp::timeStamp | ( | ) |
Definition at line 894 of file Time.C.
Referenced by ts1800Help(), ts1970Help(), ts2200Help(), and tsStdHelp().
| timeStamp::timeStamp | ( | const timeLength & | tl, | |
| timeBase | b | |||
| ) |
Definition at line 213 of file Time.C.
References timeLength::getI(), initI(), timeParent::ns, and timeUnit::ns().
Definition at line 217 of file Time.C.
References timeParent::assign(), timeBase::cvtTo_bStd(), timeUnit::cvtTo_ns(), timeParent::getRolloverTime(), and I64_MAX.
| void timeParent::assign | ( | const int64_t | v | ) | [protected, inherited] |
Definition at line 889 of file Time.C.
References timeParent::ns.
Referenced by relTimeStamp::initI(), timeLength::initI(), initI(), operator*=(), operator+=(), operator-=(), operator/=(), relTimeStamp::relTimeStamp(), timeLength::timeLength(), and timeStamp().
| int64_t timeParent::get_ns | ( | ) | const [inherited] |
Definition at line 885 of file Time.C.
References timeParent::ns.
Referenced by timeLength::getD(), relTimeStamp::getD(), getD(), timeLength::getI(), relTimeStamp::getI(), getI(), timeParent::isInitialized(), operator!=(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<(), operator<<(), operator<=(), operator==(), operator>(), operator>=(), and timeBase::timeBase().
Definition at line 896 of file Time.C.
References timeBase::cvtFrom_bStd(), timeUnit::cvtFrom_nsD(), and timeParent::get_ns().
Definition at line 900 of file Time.C.
References timeBase::cvtFrom_bStd(), timeUnit::cvtFrom_nsI(), and timeParent::get_ns().
Referenced by operator<<().
| int64_t timeParent::getRolloverTime | ( | double | t | ) | [protected, inherited] |
Definition at line 134 of file Time.C.
References I64_MAX.
Referenced by relTimeStamp::relTimeStamp(), timeLength::timeLength(), and timeStamp().
Definition at line 179 of file Time.C.
References timeParent::assign(), timeBase::cvtTo_bStd(), and timeUnit::cvtTo_ns().
Referenced by timeStamp().
| bool timeParent::isInitialized | ( | ) | const [inherited] |
Definition at line 438 of file Time.C.
References timeParent::get_ns(), and timeParent::uninitializedValue.
Referenced by abs(), earlier(), later(), maximum(), minimum(), operator!=(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<(), operator<<(), operator<=(), operator==(), operator>(), and operator>=().
| const timeStamp & timeStamp::ts1800 | ( | ) | [static] |
Definition at line 914 of file Time.C.
References _ts1800, and ts1800Help().
Referenced by tsLongAgoTime().
| const timeStamp * timeStamp::ts1800Help | ( | ) | [static, private] |
Definition at line 153 of file Time.C.
References timeBase::b1970(), timeLength::leapYear(), timeStamp(), timeLength::year(), and timeUnit::year().
Referenced by ts1800().
| const timeStamp & timeStamp::ts1970 | ( | ) | [static] |
Definition at line 904 of file Time.C.
References _ts1970, and ts1970Help().
| const timeStamp * timeStamp::ts1970Help | ( | ) | [static, private] |
Definition at line 161 of file Time.C.
References timeBase::b1970(), timeUnit::sec(), and timeStamp().
Referenced by ts1970().
| const timeStamp & timeStamp::ts2200 | ( | ) | [static] |
Definition at line 919 of file Time.C.
References _ts2200, and ts2200Help().
Referenced by tsFarOffTime().
| const timeStamp * timeStamp::ts2200Help | ( | ) | [static, private] |
Definition at line 169 of file Time.C.
References timeBase::b1970(), timeLength::leapYear(), timeStamp(), timeLength::year(), and timeUnit::year().
Referenced by ts2200().
| const timeStamp & timeStamp::tsFarOffTime | ( | ) | [static] |
| const timeStamp & timeStamp::tsLongAgoTime | ( | ) | [static] |
| const timeStamp & timeStamp::tsStd | ( | ) | [static] |
Definition at line 909 of file Time.C.
References _tsStd, and tsStdHelp().
| const timeStamp * timeStamp::tsStdHelp | ( | ) | [static, private] |
Definition at line 165 of file Time.C.
References timeBase::bStd(), timeStamp(), and timeUnit::year().
Referenced by tsStd().
| COMMON_EXPORT const timeStamp operator+ | ( | const timeLength & | a, | |
| const timeStamp & | b | |||
| ) | [friend] |
| COMMON_EXPORT const timeStamp operator+ | ( | const timeStamp & | a, | |
| const timeLength & | b | |||
| ) | [friend] |
| COMMON_EXPORT const timeStamp operator+= | ( | timeStamp & | ts, | |
| timeLength | tl | |||
| ) | [friend] |
| COMMON_EXPORT const timeStamp operator- | ( | const timeStamp & | a, | |
| const timeLength & | b | |||
| ) | [friend] |
| COMMON_EXPORT const timeLength operator- | ( | const timeStamp & | a, | |
| const timeStamp & | b | |||
| ) | [friend] |
| COMMON_EXPORT const timeStamp operator-= | ( | timeStamp & | ts, | |
| timeLength | tl | |||
| ) | [friend] |
const timeStamp * timeStamp::_ts1800 = NULL [static, private] |
const timeStamp * timeStamp::_ts1970 = NULL [static, private] |
const timeStamp * timeStamp::_ts2200 = NULL [static, private] |
const timeStamp * timeStamp::_tsStd = NULL [static, private] |
1.6.1