Public Member Functions
rtc::Duration Class Reference

#include <rtcDuration.h>

Inheritance diagram for rtc::Duration:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Definition at line 79 of file rtcDuration.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:


rtc
Author(s): Benjamin Pitzer
autogenerated on Thu Jan 2 2014 11:04:54