![]() |
Open Lighting Architecture
Latest Git
|
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 (const struct timespec ×tamp) | |
| BaseTimeVal (int64_t interval_useconds) | |
| BaseTimeVal (const BaseTimeVal &other) | |
| BaseTimeVal & | operator= (const BaseTimeVal &other) |
| BaseTimeVal & | operator= (const struct timeval &tv) |
| BaseTimeVal & | operator= (const struct timespec &ts) |
| 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 |
| Returns the seconds portion of the BaseTimeVal. More... | |
| int32_t | MicroSeconds () const |
| Returns the microseconds portion of the BaseTimeVal. More... | |
| int64_t | InMilliSeconds () const |
| Returns the entire BaseTimeVal as milliseconds. More... | |
| int64_t | AsInt () const |
| Returns the entire BaseTimeVal as microseconds. More... | |
| std::string | ToString () const |
| int64_t ola::BaseTimeVal::AsInt | ( | ) | const |
Returns the entire BaseTimeVal as microseconds.
| int64_t ola::BaseTimeVal::InMilliSeconds | ( | ) | const |
Returns the entire BaseTimeVal as milliseconds.
|
inline |
Returns the microseconds portion of the BaseTimeVal.
|
inline |
Returns the seconds portion of the BaseTimeVal.
1.8.13