ACE_Time_Value Class ReferenceOperations on "timeval" structures, which express time in seconds (secs) and microseconds (usecs). More...
Collaboration diagram for ACE_Time_Value:
![]()
Detailed DescriptionOperations on "timeval" structures, which express time in seconds (secs) and microseconds (usecs).This class centralizes all the time related processing in ACE. These time values are typically used in conjunction with OS mechanisms like <select>, <poll>, or <cond_timedwait>. Constructor & Destructor Documentation
Default Constructor.
Constructor.
Construct the ACE_Time_Value from a timeval.
Construct the ACE_Time_Value object from a timespec_t.
Construct the ACE_Time_Value object from a Win32 FILETIME.
Member Function Documentation
Initializes the ACE_Time_Value from seconds and useconds.
Initializes the ACE_Time_Value from a double, which is assumed to be in second format, with any remainder treated as microseconds.
Initializes the ACE_Time_Value from a timeval.
Initializes the ACE_Time_Value object from a timespec_t.
Initializes the ACE_Time_Value object from a Win32 FILETIME.
Converts from ACE_Time_Value format into milliseconds format.
Converts from ACE_Time_Value format into milliseconds format.
Converts from ACE_Time_Value format into milliseconds format.
Converts from milli-seconds format into ACE_Time_Value format.
Converts from milli-seconds format into ACE_Time_Value format.
Returns the value of the object as a timespec_t.
Returns the value of the object as a timeval.
Returns a pointer to the object as a timeval.
Returns the value of the object as a Win32 FILETIME.
Get seconds.
Set seconds.
Get microseconds.
Set microseconds.
Add tv to this.
Add tv to this.
Assign @ tv to this.
Assign @ tv to this.
Subtract tv to this.
Substract tv to this.
Multiply the time value by the d factor.
Increment microseconds as postfix.
Increment microseconds as prefix.
Decrement microseconds as postfix.
Decrement microseconds as prefix.
Dump is a no-op.
The dump() method is a no-op. It's here for backwards compatibility only, but does not dump anything. Invoking logging methods here violates layering restrictions in ACE because this class is part of the OS layer and
Friends And Related Function Documentation
Adds two ACE_Time_Value objects together, returns the sum.
Subtracts two ACE_Time_Value objects, returns the difference.
True if tv1 < tv2.
True if tv1 > tv2.
True if tv1 <= tv2.
True if tv1 >= tv2.
True if tv1 == tv2.
True if tv1 != tv2.
Multiplies the time value by d.
Multiplies the time value by d.
Member Data Documentation
Constant "0".
Constant for maximum time representable. Note that this time is not intended for use with <select> or other calls that may have *their own* implementation-specific maximum time representations. Its primary use is in time computations such as those used by the dynamic subpriority strategies in the ACE_Dynamic_Message_Queue class.
Initial value: ACE_INT64_LITERAL (0x19db1ded53e8000)
Store the values as a timeval.
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:17:47 2008 for ACE by ![]() |