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