#include <TimeValue.h>
Public Types |
|
typedef std::int64_t | ms_type |
typedef time_t | sec_type |
typedef long | nsec_type |
typedef std::numeric_limits< sec_type > | sec_type_traits |
Public Member Functions |
|
TimeValue () | |
TimeValue (const sec_type seconds, const nsec_type nanoseconds) SSRC_DECL_THROW(std | |
TimeValue (const ms_type millisec) | |
TimeValue & | now () |
TimeValue & | now_mono () |
ms_type | to_milliseconds () const |
sec_type | seconds () const throw () |
nsec_type | nanoseconds () const throw () |
TimeValue & | operator+= (const TimeValue &t2) |
TimeValue & | operator-= (const TimeValue &t2) |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Static Public Member Functions |
|
static sec_type | now_seconds () |
static TimeValue | time () |
Friends |
|
bool | operator== (const TimeValue &t1, const TimeValue &t2) |
bool | operator< (const TimeValue &t1, const TimeValue &t2) |
Detailed Description
Definition at line 41 of file TimeValue.h.
Member Typedef Documentation
typedef std::int64_t TimeValue::ms_type |
Definition at line 71 of file TimeValue.h.
typedef long TimeValue::nsec_type |
Definition at line 73 of file TimeValue.h.
typedef time_t TimeValue::sec_type |
Definition at line 72 of file TimeValue.h.
typedef std::numeric_limits<sec_type> TimeValue::sec_type_traits |
Definition at line 74 of file TimeValue.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 84 of file TimeValue.h.
Referenced by time().
Definition at line 88 of file TimeValue.h.
References __WISP_BILLION, nanoseconds(), and seconds().
|
inlineexplicit |
Definition at line 104 of file TimeValue.h.
Member Function Documentation
|
inline |
Definition at line 136 of file TimeValue.h.
Referenced by TimeValue().
|
inline |
Definition at line 109 of file TimeValue.h.
|
inline |
Definition at line 118 of file TimeValue.h.
|
inlinestatic |
Definition at line 76 of file TimeValue.h.
Definition at line 140 of file TimeValue.h.
References __WISP_BILLION.
Definition at line 152 of file TimeValue.h.
References __WISP_BILLION.
|
inline |
Definition at line 132 of file TimeValue.h.
Referenced by TimeValue().
|
inline |
Definition at line 176 of file TimeValue.h.
|
inlinestatic |
Definition at line 80 of file TimeValue.h.
References TimeValue().
|
inline |
Definition at line 127 of file TimeValue.h.
Friends And Related Function Documentation
Definition at line 169 of file TimeValue.h.
Definition at line 164 of file TimeValue.h.
The documentation for this class was generated from the following file: