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 & | rate | ) | [explicit] |
Definition at line 43 of file 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 459 of file src/time.cpp.