#include <rtcDuration.h>
Public Member Functions | |
DurationBase () | |
DurationBase (int32_t _sec, int32_t _nsec) | |
DurationBase (double t) | |
T & | fromNSec (int64_t t) |
T & | fromSec (double t) |
bool | isZero () |
bool | operator!= (const T &rhs) const |
T | operator* (double scale) const |
T & | operator*= (double scale) |
T | operator+ (const T &rhs) const |
T & | operator+= (const T &rhs) |
T | operator- (const T &rhs) const |
T | operator- () const |
T & | operator-= (const T &rhs) |
bool | operator< (const T &rhs) const |
bool | operator<= (const T &rhs) const |
bool | operator== (const T &rhs) const |
bool | operator> (const T &rhs) const |
bool | operator>= (const T &rhs) const |
int64_t | toNSec () const |
double | toSec () const |
~DurationBase () | |
Public Attributes | |
int32_t | nsec |
int32_t | sec |
Definition at line 51 of file rtcDuration.h.
rtc::DurationBase< T >::DurationBase | ( | ) | [inline] |
Definition at line 55 of file rtcDuration.h.
rtc::DurationBase< T >::DurationBase | ( | int32_t | _sec, |
int32_t | _nsec | ||
) |
Definition at line 127 of file rtcDuration.h.
rtc::DurationBase< T >::DurationBase | ( | double | t | ) | [inline, explicit] |
Definition at line 57 of file rtcDuration.h.
rtc::DurationBase< T >::~DurationBase | ( | ) | [inline] |
Definition at line 58 of file rtcDuration.h.
T & rtc::DurationBase< T >::fromNSec | ( | int64_t | t | ) |
Definition at line 151 of file rtcDuration.h.
T & rtc::DurationBase< T >::fromSec | ( | double | t | ) |
Definition at line 134 of file rtcDuration.h.
bool rtc::DurationBase< T >::isZero | ( | ) |
Definition at line 253 of file rtcDuration.h.
bool rtc::DurationBase< T >::operator!= | ( | const T & | rhs | ) | const [inline] |
Definition at line 67 of file rtcDuration.h.
T rtc::DurationBase< T >::operator* | ( | double | scale | ) | const |
Definition at line 168 of file rtcDuration.h.
T & rtc::DurationBase< T >::operator*= | ( | double | scale | ) |
Definition at line 200 of file rtcDuration.h.
T rtc::DurationBase< T >::operator+ | ( | const T & | rhs | ) | const |
Definition at line 162 of file rtcDuration.h.
T & rtc::DurationBase< T >::operator+= | ( | const T & | rhs | ) |
Definition at line 186 of file rtcDuration.h.
T rtc::DurationBase< T >::operator- | ( | const T & | rhs | ) | const |
Definition at line 174 of file rtcDuration.h.
T rtc::DurationBase< T >::operator- | ( | ) | const |
Definition at line 180 of file rtcDuration.h.
T & rtc::DurationBase< T >::operator-= | ( | const T & | rhs | ) |
Definition at line 193 of file rtcDuration.h.
bool rtc::DurationBase< T >::operator< | ( | const T & | rhs | ) | const |
Definition at line 207 of file rtcDuration.h.
bool rtc::DurationBase< T >::operator<= | ( | const T & | rhs | ) | const |
Definition at line 227 of file rtcDuration.h.
bool rtc::DurationBase< T >::operator== | ( | const T & | rhs | ) | const |
Definition at line 247 of file rtcDuration.h.
bool rtc::DurationBase< T >::operator> | ( | const T & | rhs | ) | const |
Definition at line 217 of file rtcDuration.h.
bool rtc::DurationBase< T >::operator>= | ( | const T & | rhs | ) | const |
Definition at line 237 of file rtcDuration.h.
int64_t rtc::DurationBase< T >::toNSec | ( | ) | const [inline] |
Definition at line 73 of file rtcDuration.h.
double rtc::DurationBase< T >::toSec | ( | ) | const [inline] |
Definition at line 72 of file rtcDuration.h.
int32_t rtc::DurationBase< T >::nsec |
Definition at line 54 of file rtcDuration.h.
int32_t rtc::DurationBase< T >::sec |
Definition at line 54 of file rtcDuration.h.