Duration representation for use with the WallTime class. More...
#include <duration.h>
Additional Inherited Members | |
Public Attributes inherited from ros::DurationBase< WallDuration > | |
int32_t | nsec |
int32_t | sec |
Static Public Attributes inherited from ros::DurationBase< WallDuration > | |
static const WallDuration | DAY |
One day duration. More... | |
static const WallDuration | HOUR |
One hour duration. More... | |
static const WallDuration | MAX |
Maximum representable duration. More... | |
static const WallDuration | MICROSECOND |
One microsecond duration. More... | |
static const WallDuration | MILLISECOND |
One millisecond duration. More... | |
static const WallDuration | MIN |
Minimum representable duration (negative) More... | |
static const WallDuration | MINUTE |
One minute duration. More... | |
static const WallDuration | NANOSECOND |
One nanosecond duration. More... | |
static const WallDuration | SECOND |
One second duration. More... | |
static const WallDuration | ZERO |
Zero duration. More... | |
Duration representation for use with the WallTime class.
ros::DurationBase provides most of its functionality.
Definition at line 155 of file duration.h.
|
inline |
Definition at line 158 of file duration.h.
|
inline |
Definition at line 162 of file duration.h.
|
inlineexplicit |
Definition at line 166 of file duration.h.
|
explicit |
Definition at line 75 of file src/duration.cpp.
bool ros::WallDuration::sleep | ( | ) | const |
sleep for the amount of time specified by this Duration. If a signal interrupts the sleep, resleeps for the time remaining.
Definition at line 509 of file src/time.cpp.