#include <time.hpp>
Public Member Functions | |
bool | isZero () const |
bool | operator!= (const T &r) const |
T | operator+ (const D &r) const |
T & | operator+= (const D &r) |
T | operator- (const D &r) const |
D | operator- (const T &r) const |
T & | operator-= (const D &r) |
bool | operator< (const T &r) const |
bool | operator<= (const T &r) const |
bool | operator== (const T &r) const |
bool | operator> (const T &r) const |
bool | operator>= (const T &r) const |
uint64_t | toMSec () const |
void | toString (char buf[StringBufSize]) const |
Prints time in seconds with microsecond resolution. More... | |
uint64_t | toUSec () const |
Static Public Member Functions | |
static T | fromMSec (uint64_t ms) |
static T | fromUSec (uint64_t us) |
static T | getMax () |
Static Public Attributes | |
static const unsigned | StringBufSize = 32 |
Protected Member Functions | |
TimeBase () | |
~TimeBase () | |
Private Attributes | |
uint64_t | usec_ |
|
inlineprotected |
|
inlineprotected |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void uavcan::TimeBase< T, D >::toString | ( | char | buf[StringBufSize] | ) | const |
|
inline |
|
static |
|
private |