Open Lighting Architecture
0.9.3
|
Don't use this class directly. It's an implementation detail of TimeInterval and TimeStamp.
Public Member Functions | |
BaseTimeVal (int32_t sec, int32_t usec) | |
BaseTimeVal (const struct timeval ×tamp) | |
BaseTimeVal (int64_t interval_useconds) | |
BaseTimeVal (const BaseTimeVal &other) | |
BaseTimeVal & | operator= (const BaseTimeVal &other) |
BaseTimeVal & | operator= (const struct timeval &tv) |
bool | operator== (const BaseTimeVal &other) const |
bool | operator!= (const BaseTimeVal &other) const |
bool | operator> (const BaseTimeVal &other) const |
bool | operator>= (const BaseTimeVal &other) const |
bool | operator< (const BaseTimeVal &other) const |
bool | operator<= (const BaseTimeVal &other) const |
BaseTimeVal & | operator+= (const BaseTimeVal &other) |
BaseTimeVal & | operator-= (const BaseTimeVal &other) |
const BaseTimeVal | operator+ (const BaseTimeVal &interval) const |
const BaseTimeVal | operator- (const BaseTimeVal &other) const |
BaseTimeVal | operator* (unsigned int i) const |
bool | IsSet () const |
void | AsTimeval (struct timeval *tv) const |
time_t | Seconds () const |
int32_t | MicroSeconds () const |
int64_t | InMilliSeconds () const |
int64_t | AsInt () const |
std::string | ToString () const |