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

Public Member Functions

 TimeInterval (int32_t sec, int32_t usec)
 TimeInterval (int64_t usec)
 TimeInterval (const TimeInterval &other)
TimeIntervaloperator= (const TimeInterval &other)
bool operator== (const TimeInterval &other) const
bool operator!= (const TimeInterval &other) const
bool operator> (const TimeInterval &other) const
bool operator>= (const TimeInterval &other) const
bool operator< (const TimeInterval &other) const
bool operator<= (const TimeInterval &other) const
TimeIntervaloperator+= (const TimeInterval &other)
TimeInterval operator* (unsigned int i) const
bool IsZero () const
void AsTimeval (struct timeval *tv) const
time_t Seconds () const
suseconds_t MicroSeconds () const
int64_t InMilliSeconds () const
int64_t AsInt () const
std::string ToString () const

Friends

class TimeStamp
std::ostream & operator<< (std::ostream &out, const TimeInterval &interval)

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