#include <rtcDuration.h>
Public Member Functions | |
Duration () | |
Duration (int32_t _sec, int32_t _nsec) | |
Duration (double t) | |
bool | 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 79 of file rtcDuration.h.
rtc::Duration::Duration | ( | ) | [inline] |
Definition at line 82 of file rtcDuration.h.
rtc::Duration::Duration | ( | int32_t | _sec, |
int32_t | _nsec | ||
) | [inline] |
Definition at line 86 of file rtcDuration.h.
rtc::Duration::Duration | ( | double | t | ) | [inline, explicit] |
Definition at line 90 of file rtcDuration.h.
bool Duration::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 214 of file rtcTime.cpp.