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

Public Member Functions

 TimeStamp (const struct timeval &timestamp)
 
 TimeStamp (const TimeStamp &other)
 
TimeStampoperator= (const TimeStamp &other)
 
TimeStampoperator= (const struct timeval &tv)
 
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
 
TimeStampoperator+= (const TimeInterval &interval)
 
TimeStampoperator-= (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 &timestamp)
 

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