OKVIS
|
Time representation. Always wall-clock time. More...
#include <Time.hpp>
Public Member Functions | |
WallTime () | |
WallTime (uint32_t _sec, uint32_t _nsec) | |
WallTime (double t) | |
Public Member Functions inherited from okvis::TimeBase< WallTime, WallDuration > | |
TimeBase () | |
TimeBase (uint32_t _sec, uint32_t _nsec) | |
TimeBase (double t) | |
~TimeBase () | |
WallDuration | operator- (const WallTime &rhs) const |
WallTime | operator- (const WallDuration &rhs) const |
WallTime | operator+ (const WallDuration &rhs) const |
WallTime & | operator+= (const WallDuration &rhs) |
WallTime & | operator-= (const WallDuration &rhs) |
bool | operator== (const WallTime &rhs) const |
bool | operator!= (const WallTime &rhs) const |
bool | operator> (const WallTime &rhs) const |
bool | operator< (const WallTime &rhs) const |
bool | operator>= (const WallTime &rhs) const |
bool | operator<= (const WallTime &rhs) const |
double | toSec () const |
WallTime & | fromSec (double t) |
uint64_t | toNSec () const |
WallTime & | fromNSec (uint64_t t) |
bool | isZero () const |
bool | is_zero () const |
Static Public Member Functions | |
static WallTime | now () |
Returns the current wall clock time. More... | |
static bool | sleepUntil (const WallTime &end) |
Sleep until a specific time has been reached. More... | |
static bool | isSystemTime () |
Additional Inherited Members | |
Public Attributes inherited from okvis::TimeBase< WallTime, WallDuration > | |
uint32_t | sec |
uint32_t | nsec |
Time representation. Always wall-clock time.
okvis::TimeBase provides most of its functionality.
|
inline |
|
inline |
|
inlineexplicit |
|
inlinestatic |
|
static |
Returns the current wall clock time.
|
static |
Sleep until a specific time has been reached.