#include <archon/util/time.H>
Collaboration diagram for Archon::Utilities::Time:

| Public Member Functions | |
| Time () | |
| Get the time that corresponds to Thu Jan 1 00:00:00 GMT 1970 which is assumed to be the beginning of the UNIX epoch. | |
| Time (long seconds, long nanoSeconds=0) | |
| Initialize by the number of seconds and nanoseconds since the epoch. | |
| Time (double seconds) | |
| Initialize by the number of seconds since the epoch. | |
| Time & | operator+= (const Time &t) | 
| Time & | operator-= (const Time &t) | 
| Time & | operator++ () | 
| Time & | operator-- () | 
| Time | operator++ (int) | 
| Time | operator-- (int) | 
| Time | operator+ (const Time &t) const | 
| Time | operator- (const Time &t) const | 
| bool | operator== (const Time &t) const | 
| bool | operator!= (const Time &t) const | 
| bool | operator< (const Time &t) const | 
| bool | operator> (const Time &t) const | 
| bool | operator<= (const Time &t) const | 
| bool | operator>= (const Time &t) const | 
| void | set (long seconds, long nanoSeconds=0) | 
| 'nanoSeconds' represents the fractional part of the time mesured in seconds and must not be greater than 999999999. | |
| void | get (long &seconds, long &nanoSeconds) const | 
| 'nanoSeconds' represents the fractional part of the time mesured in seconds and will never be greater than 999999999. | |
| void | get (long double &seconds) const | 
| long | getSeconds () const | 
| void | setSeconds (long v) | 
| void | addSeconds (long v) | 
| long | getMilliSeconds () const | 
| void | setMilliSeconds (long v) | 
| void | addMilliSeconds (long v) | 
| long | getMicroSeconds () const | 
| void | setMicroSeconds (long v) | 
| void | addMicroSeconds (long v) | 
| long | getNanoSeconds () const | 
| void | setNanoSeconds (long v) | 
| void | addNanoSeconds (long v) | 
| Static Public Member Functions | |
| static Time | now () | 
| Get the time that corresponds to "now". | |
| static Time | resolution () | 
| Get the time resolution supported by the system (ie. | |
Definition at line 43 of file time.H.
| 
 | ||||||||||||
| Initialize by the number of seconds and nanoseconds since the epoch. 'nanoSeconds' represents the fractional part of the time mesured in seconds and must not be greater than 999999999. | 
| 
 | 
| Get the time resolution supported by the system (ie. the minimum nanosecond increment) Definition at line 90 of file time.H. References ts. | 
 1.4.4
 1.4.4