|
| ACE_Time_Value_T () |
| Default Constructor. More...
|
|
| ACE_Time_Value_T (time_t sec, suseconds_t usec=0) |
| Constructor. More...
|
|
| ACE_Time_Value_T (const struct timeval &t) |
| Construct the ACE_Time_Value from a timeval. More...
|
|
| ACE_Time_Value_T (const timespec_t &t) |
| Construct the ACE_Time_Value object from a timespec_t. More...
|
|
| ACE_Time_Value_T (const ACE_Time_Value_T< TIME_POLICY > &tv) |
| Construct from ACE_Time_Value_T<TIME_POLICY> More...
|
|
| ACE_Time_Value_T (const ACE_Time_Value &tv, const TIME_POLICY &tp=TIME_POLICY()) |
| Construct from ACE_Time_Value. More...
|
|
virtual | ~ACE_Time_Value_T () |
| Destructor. More...
|
|
ACE_Time_Value_T< TIME_POLICY > & | operator+= (const ACE_Time_Value &tv) |
| Add tv to this. More...
|
|
ACE_Time_Value_T< TIME_POLICY > & | operator+= (time_t tv) |
| Add tv to this. More...
|
|
ACE_Time_Value_T< TIME_POLICY > & | operator= (const ACE_Time_Value_T< TIME_POLICY > &tv) |
| Assign @ tv to this. More...
|
|
ACE_Time_Value_T< TIME_POLICY > & | operator= (const ACE_Time_Value &tv) |
| Assign @ tv to this. More...
|
|
ACE_Time_Value_T< TIME_POLICY > & | operator= (time_t tv) |
| Assign @ tv to this. More...
|
|
ACE_Time_Value_T< TIME_POLICY > & | operator-= (const ACE_Time_Value &tv) |
| Subtract tv to this. More...
|
|
ACE_Time_Value_T< TIME_POLICY > & | operator-= (time_t tv) |
| Subtract tv to this. More...
|
|
ACE_Time_Value_T< TIME_POLICY > & | operator*= (double d) |
| Multiply the time value by the d factor. More...
|
|
ACE_Time_Value_T< TIME_POLICY > | operator++ (int) |
| Increment microseconds as postfix. More...
|
|
ACE_Time_Value_T< TIME_POLICY > & | operator++ () |
| Increment microseconds as prefix. More...
|
|
ACE_Time_Value_T< TIME_POLICY > | operator-- (int) |
| Decrement microseconds as postfix. More...
|
|
ACE_Time_Value_T< TIME_POLICY > & | operator-- () |
| Decrement microseconds as prefix. More...
|
|
virtual ACE_Time_Value | now () const |
| Get current time of day according to time policy. More...
|
|
virtual ACE_Time_Value | to_relative_time () const |
| Converts absolute time value to time value relative to current time of day. More...
|
|
virtual ACE_Time_Value | to_absolute_time () const |
| Converts relative time value to absolute time value based on current time of day. More...
|
|
virtual ACE_Time_Value * | duplicate () const |
| Duplicates this time value (incl. time policy). More...
|
|
| ACE_Time_Value () |
| Default Constructor. More...
|
|
| ACE_Time_Value (time_t sec, suseconds_t usec=0) |
| Constructor. More...
|
|
| ACE_Time_Value (const struct timeval &t) |
| Construct the ACE_Time_Value from a timeval. More...
|
|
| ACE_Time_Value (const timespec_t &t) |
| Construct the ACE_Time_Value object from a timespec_t. More...
|
|
| ACE_Time_Value (const ACE_Time_Value &)=default |
|
| ACE_Time_Value (ACE_Time_Value &&)=default |
|
template<class Rep , class Period > |
| ACE_Time_Value (const std::chrono::duration< Rep, Period > &duration) |
| Construct the ACE_Time_Value object from a chrono duration. More...
|
|
virtual | ~ACE_Time_Value ()=default |
| Destructor. More...
|
|
| ACE_Time_Value (const FILETIME &ft) |
| Construct the ACE_Time_Value object from a Win32 FILETIME. More...
|
|
void | set (time_t sec, suseconds_t usec) |
| Initializes the ACE_Time_Value from seconds and useconds. More...
|
|
void | set (double d) |
|
void | set (const timeval &t) |
| Initializes the ACE_Time_Value from a timeval. More...
|
|
void | set (const timespec_t &t) |
| Initializes the ACE_Time_Value object from a timespec_t. More...
|
|
void | set (const FILETIME &ft) |
| Initializes the ACE_Time_Value object from a Win32 FILETIME. More...
|
|
template<class Rep , class Period > |
void | set (const std::chrono::duration< Rep, Period > &duration) |
| Initializes the ACE_Time_Value object from a std::duration. More...
|
|
unsigned long | msec () const |
| Converts from ACE_Time_Value format into milliseconds format. More...
|
|
ACE_UINT64 | get_msec () const |
| Converts from ACE_Time_Value format into milliseconds format. More...
|
|
void | msec (ACE_UINT64 &ms) const |
| Converts from ACE_Time_Value format into milliseconds format. More...
|
|
void | msec (ACE_UINT64 &ms) |
| Converts from ACE_Time_Value format into milliseconds format. More...
|
|
void | set_msec (const ACE_UINT64 &ms) |
| Converts from milli-seconds format into ACE_Time_Value format. More...
|
|
void | msec (long) |
| Converts from milli-seconds format into ACE_Time_Value format. More...
|
|
void | msec (int) |
| Converts from milli-seconds format into ACE_Time_Value format. More...
|
|
| operator timespec_t () const |
| Returns the value of the object as a timespec_t. More...
|
|
| operator timeval () const |
| Returns the value of the object as a timeval. More...
|
|
| operator const timeval * () const |
| Returns a pointer to the object as a timeval. More...
|
|
| operator FILETIME () const |
| Returns the value of the object as a Win32 FILETIME. More...
|
|
time_t | sec () const |
| Get seconds. More...
|
|
void | sec (time_t sec) |
| Set seconds. More...
|
|
suseconds_t | usec () const |
| Get microseconds. More...
|
|
void | usec (suseconds_t usec) |
| Set microseconds. More...
|
|
void | to_usec (ACE_UINT64 &usec) const |
|
ACE_Time_Value & | operator+= (const ACE_Time_Value &tv) |
| Add tv to this. More...
|
|
ACE_Time_Value & | operator+= (time_t tv) |
| Add tv to this. More...
|
|
ACE_Time_Value & | operator= (const ACE_Time_Value &)=default |
| Assign tv to this. More...
|
|
ACE_Time_Value & | operator= (ACE_Time_Value &&)=default |
|
ACE_Time_Value & | operator= (time_t tv) |
| Assign tv to this. More...
|
|
ACE_Time_Value & | operator-= (const ACE_Time_Value &tv) |
| Subtract tv to this. More...
|
|
ACE_Time_Value & | operator-= (time_t tv) |
| Subtract tv to this. More...
|
|
template<class Rep , class Period > |
ACE_Time_Value & | operator+= (const std::chrono::duration< Rep, Period > &duration) |
| Add std::duration to this. More...
|
|
template<class Rep , class Period > |
ACE_Time_Value & | operator= (const std::chrono::duration< Rep, Period > &duration) |
| Assign std::duration to this. More...
|
|
template<class Rep , class Period > |
ACE_Time_Value & | operator-= (const std::chrono::duration< Rep, Period > &duration) |
| Subtract std::duration to this. More...
|
|
ACE_Time_Value & | operator*= (double d) |
| Multiply the time value by the d factor. More...
|
|
ACE_Time_Value | operator++ (int) |
| Increment microseconds as postfix. More...
|
|
ACE_Time_Value & | operator++ () |
| Increment microseconds as prefix. More...
|
|
ACE_Time_Value | operator-- (int) |
| Decrement microseconds as postfix. More...
|
|
ACE_Time_Value & | operator-- () |
| Decrement microseconds as prefix. More...
|
|
void | dump () const |
| Dump is a no-op. More...
|
|