Time representation. Always wall-clock time. More...
#include <time.h>
Public Member Functions | |
WallTime () | |
WallTime (uint32_t _sec, uint32_t _nsec) | |
WallTime (double t) | |
Static Public Member Functions | |
static bool | isSystemTime () |
static WallTime | now () |
Returns the current wall clock time. | |
static bool | sleepUntil (const WallTime &end) |
Sleep until a specific time has been reached. |
Time representation. Always wall-clock time.
ros::TimeBase provides most of its functionality.
ros::WallTime::WallTime | ( | ) | [inline] |
ros::WallTime::WallTime | ( | uint32_t | _sec, |
uint32_t | _nsec | ||
) | [inline] |
ros::WallTime::WallTime | ( | double | t | ) | [inline, explicit] |
static bool ros::WallTime::isSystemTime | ( | ) | [inline, static] |
WallTime ros::WallTime::now | ( | ) | [static] |
bool ros::WallTime::sleepUntil | ( | const WallTime & | end | ) | [static] |