#include <Time.h>
Public Member Functions | |
| COMMON_EXPORT | relTimeStamp () |
| COMMON_EXPORT | relTimeStamp (int64_t iTime, const timeUnit &u) |
| COMMON_EXPORT | relTimeStamp (int iTime, const timeUnit &u) |
| COMMON_EXPORT | relTimeStamp (const timeLength &tl) |
| COMMON_EXPORT | relTimeStamp (double dTime, const timeUnit &u) |
| COMMON_EXPORT double | getD (const timeUnit &u) const |
| COMMON_EXPORT int64_t | getI (const timeUnit &u) const |
| COMMON_EXPORT int64_t | get_ns () const |
| COMMON_EXPORT bool | isInitialized () const |
Static Public Member Functions | |
| static COMMON_EXPORT const relTimeStamp & | Zero () |
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) |
| COMMON_EXPORT | relTimeStamp (int64_t ns_) |
Static Private Member Functions | |
| static COMMON_EXPORT const relTimeStamp * | ZeroHelp () |
Static Private Attributes | |
| static COMMON_EXPORT const relTimeStamp * | _Zero = NULL |
Friends | |
| COMMON_EXPORT const relTimeStamp | operator+= (relTimeStamp &ts, timeLength tl) |
| COMMON_EXPORT const relTimeStamp | operator-= (relTimeStamp &ts, timeLength tl) |
| COMMON_EXPORT const timeLength | operator- (const relTimeStamp &a, const relTimeStamp &b) |
| COMMON_EXPORT const relTimeStamp | operator+ (const relTimeStamp &a, const timeLength &b) |
| COMMON_EXPORT const relTimeStamp | operator- (const relTimeStamp &a, const timeLength &b) |
| COMMON_EXPORT const relTimeStamp | operator+ (const timeLength &a, const relTimeStamp &b) |
Definition at line 276 of file Time.h.
| COMMON_EXPORT relTimeStamp::relTimeStamp | ( | ) |
Definition at line 932 of file Time.C.
Referenced by ZeroHelp().
| COMMON_EXPORT relTimeStamp::relTimeStamp | ( | int | iTime, | |
| const timeUnit & | u | |||
| ) |
| relTimeStamp::relTimeStamp | ( | const timeLength & | tl | ) |
Definition at line 237 of file Time.C.
References timeLength::getI(), initI(), timeParent::ns, and timeUnit::ns().
| relTimeStamp::relTimeStamp | ( | double | dTime, | |
| const timeUnit & | u | |||
| ) |
Definition at line 241 of file Time.C.
References timeParent::assign(), 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 initI(), timeLength::initI(), timeStamp::initI(), operator*=(), operator+=(), operator-=(), operator/=(), relTimeStamp(), timeLength::timeLength(), and timeStamp::timeStamp().
| int64_t timeParent::get_ns | ( | ) | const [inherited] |
Definition at line 885 of file Time.C.
References timeParent::ns.
Referenced by timeLength::getD(), getD(), timeStamp::getD(), timeLength::getI(), getI(), timeStamp::getI(), timeParent::isInitialized(), operator!=(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<(), operator<<(), operator<=(), operator==(), operator>(), operator>=(), and timeBase::timeBase().
| double relTimeStamp::getD | ( | const timeUnit & | u | ) | const |
Definition at line 934 of file Time.C.
References timeUnit::cvtFrom_nsD(), and timeParent::get_ns().
Definition at line 938 of file Time.C.
References 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(), timeLength::timeLength(), and timeStamp::timeStamp().
Definition at line 202 of file Time.C.
References timeParent::assign(), and timeUnit::cvtTo_ns().
Referenced by relTimeStamp().
| 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 relTimeStamp & relTimeStamp::Zero | ( | ) | [static] |
Definition at line 944 of file Time.C.
References _Zero, and ZeroHelp().
| const relTimeStamp * relTimeStamp::ZeroHelp | ( | ) | [static, private] |
Definition at line 228 of file Time.C.
References relTimeStamp(), and timeUnit::sec().
Referenced by Zero().
| COMMON_EXPORT const relTimeStamp operator+ | ( | const timeLength & | a, | |
| const relTimeStamp & | b | |||
| ) | [friend] |
| COMMON_EXPORT const relTimeStamp operator+ | ( | const relTimeStamp & | a, | |
| const timeLength & | b | |||
| ) | [friend] |
| COMMON_EXPORT const relTimeStamp operator+= | ( | relTimeStamp & | ts, | |
| timeLength | tl | |||
| ) | [friend] |
| COMMON_EXPORT const relTimeStamp operator- | ( | const relTimeStamp & | a, | |
| const timeLength & | b | |||
| ) | [friend] |
| COMMON_EXPORT const timeLength operator- | ( | const relTimeStamp & | a, | |
| const relTimeStamp & | b | |||
| ) | [friend] |
| COMMON_EXPORT const relTimeStamp operator-= | ( | relTimeStamp & | ts, | |
| timeLength | tl | |||
| ) | [friend] |
const relTimeStamp * relTimeStamp::_Zero = NULL [static, private] |
1.6.1