#include <new_sim_utils.h>
| Public Member Functions | |
| cTime () | |
| Constructor. | |
| cTime (const struct timeval &tv) | |
| qualified Constructor with timeval | |
| cTime (const cTime &t) | |
| copy Constructor | |
| cTime (unsigned int s, unsigned int u) | |
| qualified Constructor with seconds and usec | |
| void | Normalize () | 
| noramlize the internal data | |
| int | Cmp (const cTime &t) | 
| compare two time classes | |
| bool | operator< (const cTime &t) | 
| lower operator | |
| bool | operator<= (const cTime &t) | 
| lower equal operator | |
| bool | operator> (const cTime &t) | 
| higher operator | |
| bool | operator>= (const cTime &t) | 
| higher equal operator | |
| bool | operator== (const cTime &t) | 
| equal operator | |
| bool | operator!= (const cTime &t) | 
| not equal operator | |
| cTime & | operator+= (const cTime &t) | 
| add cTime class operator | |
| cTime & | operator+= (int ms) | 
| add msec value operator | |
| cTime & | operator-= (int ms) | 
| subtract time value operator | |
| cTime & | operator-= (cTime t) | 
| subtract time value operator | |
| unsigned int | GetMsec () | 
| get the time value in msec | |
| void | Clear () | 
| Clear the value. | |
| bool | IsSet () | 
| Check whether the time was set. | |
| Static Public Member Functions | |
| static cTime | Now () | 
| fill the class with actual time | |
| Public Attributes | |
| timeval | m_time | 
| time value | |
 1.4.4
 1.4.4