Base class for Time implementations. Provides storage, common functions and operator overloads. This should not need to be used directly. More...
#include <time.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 |
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 & rs2rosinternal::TimeBase< T, D >::fromNSec | ( | uint64_t | t | ) |
Definition at line 63 of file impl/time.h.
|
inline |
|
inline |
|
inline |
|
inline |
| T rs2rosinternal::TimeBase< T, D >::operator+ | ( | const D & | rhs | ) | const |
Definition at line 90 of file impl/time.h.
| T & rs2rosinternal::TimeBase< T, D >::operator+= | ( | const D & | rhs | ) |
Definition at line 103 of file impl/time.h.
| D rs2rosinternal::TimeBase< T, D >::operator- | ( | const T & | rhs | ) | const |
Definition at line 77 of file impl/time.h.
| T rs2rosinternal::TimeBase< T, D >::operator- | ( | const D & | rhs | ) | const |
Definition at line 84 of file impl/time.h.
| T & rs2rosinternal::TimeBase< T, D >::operator-= | ( | const D & | rhs | ) |
Definition at line 110 of file impl/time.h.
| bool rs2rosinternal::TimeBase< T, D >::operator< | ( | const T & | rhs | ) | const |
Definition at line 123 of file impl/time.h.
| bool rs2rosinternal::TimeBase< T, D >::operator<= | ( | const T & | rhs | ) | const |
Definition at line 143 of file impl/time.h.
| bool rs2rosinternal::TimeBase< T, D >::operator== | ( | const T & | rhs | ) | const |
Definition at line 117 of file impl/time.h.
| bool rs2rosinternal::TimeBase< T, D >::operator> | ( | const T & | rhs | ) | const |
Definition at line 133 of file impl/time.h.
| bool rs2rosinternal::TimeBase< T, D >::operator>= | ( | const T & | rhs | ) | const |
Definition at line 153 of file impl/time.h.
|
inline |
|
inline |
| uint32_t rs2rosinternal::TimeBase< T, D >::nsec |
| uint32_t rs2rosinternal::TimeBase< T, D >::sec |