Duration representation for use with the WallTime class. More...
#include <duration.h>
Public Member Functions | |
bool | sleep () const |
sleep for the amount of time specified by this Duration. If a signal interrupts the sleep, resleeps for the time remaining. | |
WallDuration () | |
WallDuration (int32_t _sec, int32_t _nsec) | |
WallDuration (double t) | |
WallDuration (const Rate &) |
Duration representation for use with the WallTime class.
ros::DurationBase provides most of its functionality.
Definition at line 135 of file duration.h.
ros::WallDuration::WallDuration | ( | ) | [inline] |
Definition at line 138 of file duration.h.
ros::WallDuration::WallDuration | ( | int32_t | _sec, |
int32_t | _nsec | ||
) | [inline] |
Definition at line 142 of file duration.h.
ros::WallDuration::WallDuration | ( | double | t | ) | [inline, explicit] |
Definition at line 146 of file duration.h.
ros::WallDuration::WallDuration | ( | const Rate & | r | ) | [inline, explicit] |
Definition at line 194 of file impl/duration.h.
bool ros::WallDuration::sleep | ( | ) | const |