OKVIS ROS
|
Base class for Time implementations. Provides storage, common functions and operator overloads. This should not need to be used directly. More...
#include <Time.hpp>
Public Member Functions | |
TimeBase () | |
TimeBase (uint32_t _sec, uint32_t _nsec) | |
TimeBase (double t) | |
~TimeBase () | |
D | operator- (const T &rhs) const |
T | operator+ (const D &rhs) const |
T | operator- (const D &rhs) const |
T & | operator+= (const D &rhs) |
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 |
bool | operator<= (const T &rhs) const |
double | toSec () const |
T & | fromSec (double t) |
uint64_t | toNSec () const |
T & | fromNSec (uint64_t t) |
bool | isZero () const |
bool | is_zero () const |
Public Attributes | |
uint32_t | sec |
uint32_t | nsec |
Base class for Time implementations. Provides storage, common functions and operator overloads. This should not need to be used directly.
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
T & okvis::TimeBase< T, D >::fromNSec | ( | uint64_t | t | ) |
|
inline |
|
inline |
|
inline |
|
inline |
T okvis::TimeBase< T, D >::operator+ | ( | const D & | rhs | ) | const |
T & okvis::TimeBase< T, D >::operator+= | ( | const D & | rhs | ) |
D okvis::TimeBase< T, D >::operator- | ( | const T & | rhs | ) | const |
T okvis::TimeBase< T, D >::operator- | ( | const D & | rhs | ) | const |
T & okvis::TimeBase< T, D >::operator-= | ( | const D & | rhs | ) |
bool okvis::TimeBase< T, D >::operator< | ( | const T & | rhs | ) | const |
bool okvis::TimeBase< T, D >::operator<= | ( | const T & | rhs | ) | const |
bool okvis::TimeBase< T, D >::operator== | ( | const T & | rhs | ) | const |
bool okvis::TimeBase< T, D >::operator> | ( | const T & | rhs | ) | const |
bool okvis::TimeBase< T, D >::operator>= | ( | const T & | rhs | ) | const |
|
inline |
|
inline |
uint32_t okvis::TimeBase< T, D >::nsec |
uint32_t okvis::TimeBase< T, D >::sec |