Time representation. Always steady-clock time. More...
#include <time.h>
Static Public Member Functions | |
static bool | isSystemTime () |
static SteadyTime | now () |
Returns the current steady (monotonic) clock time. More... | |
static bool | sleepUntil (const SteadyTime &end) |
Sleep until a specific time has been reached. More... | |
Additional Inherited Members | |
Public Attributes inherited from ros::TimeBase< SteadyTime, WallDuration > | |
uint32_t | nsec |
uint32_t | sec |
Static Public Attributes inherited from ros::TimeBase< SteadyTime, WallDuration > | |
static const SteadyTime | MAX |
Maximum representable time. More... | |
static const SteadyTime | MIN |
Minimum representable time. More... | |
static const SteadyTime | UNINITIALIZED |
Uninitialized time. More... | |
static const SteadyTime | ZERO |
Zero (invalid) time. More... | |
Time representation. Always steady-clock time.
Not affected by ROS time.
ros::TimeBase provides most of its functionality.
|
inline |
|
static |
Returns the current steady (monotonic) clock time.
Definition at line 487 of file src/time.cpp.
|
static |
Sleep until a specific time has been reached.
Definition at line 412 of file src/time.cpp.