Open Lighting Architecture  0.10.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ola::BaseTimeVal Class Reference

Detailed Description

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 &timestamp)
 
 BaseTimeVal (int64_t interval_useconds)
 
 BaseTimeVal (const BaseTimeVal &other)
 
BaseTimeValoperator= (const BaseTimeVal &other)
 
BaseTimeValoperator= (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
 
BaseTimeValoperator+= (const BaseTimeVal &other)
 
BaseTimeValoperator-= (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
 

The documentation for this class was generated from the following files: