#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
§ ms_type
| typedef std::int64_t TimeValue::ms_type |
Definition at line 71 of file TimeValue.h.
§ nsec_type
| typedef long TimeValue::nsec_type |
Definition at line 73 of file TimeValue.h.
§ sec_type
| typedef time_t TimeValue::sec_type |
Definition at line 72 of file TimeValue.h.
§ sec_type_traits
| typedef std::numeric_limits<sec_type> TimeValue::sec_type_traits |
Definition at line 74 of file TimeValue.h.
Constructor & Destructor Documentation
§ TimeValue() [1/3]
|
inline |
Definition at line 84 of file TimeValue.h.
Referenced by time().
§ TimeValue() [2/3]
Definition at line 88 of file TimeValue.h.
References __WISP_BILLION, nanoseconds(), and seconds().
§ TimeValue() [3/3]
|
inlineexplicit |
Definition at line 104 of file TimeValue.h.
Member Function Documentation
§ nanoseconds()
|
inline | |||||||||||||
Definition at line 136 of file TimeValue.h.
Referenced by TimeValue().
§ now()
|
inline |
Definition at line 109 of file TimeValue.h.
§ now_mono()
|
inline |
Definition at line 118 of file TimeValue.h.
§ now_seconds()
|
inlinestatic |
Definition at line 76 of file TimeValue.h.
§ operator+=()
Definition at line 140 of file TimeValue.h.
References __WISP_BILLION.
§ operator-=()
Definition at line 152 of file TimeValue.h.
References __WISP_BILLION.
§ seconds()
|
inline | |||||||||||||
Definition at line 132 of file TimeValue.h.
Referenced by TimeValue().
§ serialize()
|
inline |
Definition at line 176 of file TimeValue.h.
§ time()
|
inlinestatic |
Definition at line 80 of file TimeValue.h.
References TimeValue().
§ to_milliseconds()
|
inline |
Definition at line 127 of file TimeValue.h.
Friends And Related Function Documentation
§ operator<</h2>
|
friend |
Definition at line 169 of file TimeValue.h.
§ operator==
Definition at line 164 of file TimeValue.h.
The documentation for this class was generated from the following file: