Open Lighting Architecture
Latest Git
|
Represents a point in time with microsecond accuracy.
Public Member Functions | |
TimeStamp (const struct timeval ×tamp) | |
TimeStamp (const struct timespec ×tamp) | |
TimeStamp (const TimeStamp &other) | |
TimeStamp & | operator= (const TimeStamp &other) |
TimeStamp & | operator= (const struct timeval &tv) |
TimeStamp & | operator= (const struct timespec &ts) |
bool | operator== (const TimeStamp &other) const |
bool | operator!= (const TimeStamp &other) const |
bool | operator> (const TimeStamp &other) const |
bool | operator>= (const TimeStamp &other) const |
bool | operator< (const TimeStamp &other) const |
bool | operator<= (const TimeStamp &other) const |
TimeStamp & | operator+= (const TimeInterval &interval) |
TimeStamp & | operator-= (const TimeInterval &interval) |
const TimeStamp | operator+ (const TimeInterval &interval) const |
const TimeInterval | operator- (const TimeStamp &other) const |
const TimeStamp | operator- (const TimeInterval &interval) const |
bool | IsSet () const |
time_t | Seconds () const |
int32_t | MicroSeconds () const |
std::string | ToString () const |
Friends | |
std::ostream & | operator<< (std::ostream &out, const TimeStamp ×tamp) |