#include <rtcTime.h>
Public Member Functions | |
T & | fromNSec (uint64_t t) |
T & | fromSec (double t) |
bool | is_zero () const |
bool | isZero () const |
bool | operator!= (const T &rhs) const |
T | operator+ (const D &rhs) const |
T & | operator+= (const D &rhs) |
D | operator- (const T &rhs) const |
T | operator- (const D &rhs) const |
T & | operator-= (const D &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 |
TimeBase () | |
TimeBase (uint32_t _sec, uint32_t _nsec) | |
TimeBase (double t) | |
uint64_t | toNSec () const |
double | toSec () const |
~TimeBase () | |
Public Attributes | |
uint32_t | nsec |
uint32_t | sec |
rtc::TimeBase< T, D >::TimeBase | ( | ) | [inline] |
rtc::TimeBase< T, D >::TimeBase | ( | uint32_t | _sec, |
uint32_t | _nsec | ||
) | [inline] |
rtc::TimeBase< T, D >::TimeBase | ( | double | t | ) | [inline, explicit] |
rtc::TimeBase< T, D >::~TimeBase | ( | ) | [inline] |
T & rtc::TimeBase< T, D >::fromNSec | ( | uint64_t | t | ) |
T& rtc::TimeBase< T, D >::fromSec | ( | double | t | ) | [inline] |
bool rtc::TimeBase< T, D >::is_zero | ( | ) | const [inline] |
bool rtc::TimeBase< T, D >::isZero | ( | ) | const [inline] |
bool rtc::TimeBase< T, D >::operator!= | ( | const T & | rhs | ) | const [inline] |
T rtc::TimeBase< T, D >::operator+ | ( | const D & | rhs | ) | const |
T & rtc::TimeBase< T, D >::operator+= | ( | const D & | rhs | ) |
D rtc::TimeBase< T, D >::operator- | ( | const T & | rhs | ) | const |
T rtc::TimeBase< T, D >::operator- | ( | const D & | rhs | ) | const |
T & rtc::TimeBase< T, D >::operator-= | ( | const D & | rhs | ) |
bool rtc::TimeBase< T, D >::operator< | ( | const T & | rhs | ) | const |
bool rtc::TimeBase< T, D >::operator<= | ( | const T & | rhs | ) | const |
bool rtc::TimeBase< T, D >::operator== | ( | const T & | rhs | ) | const |
bool rtc::TimeBase< T, D >::operator> | ( | const T & | rhs | ) | const |
bool rtc::TimeBase< T, D >::operator>= | ( | const T & | rhs | ) | const |
uint64_t rtc::TimeBase< T, D >::toNSec | ( | ) | const [inline] |
double rtc::TimeBase< T, D >::toSec | ( | ) | const [inline] |
uint32_t rtc::TimeBase< T, D >::nsec |
uint32_t rtc::TimeBase< T, D >::sec |