Public Member Functions
ros::WallDuration Class Reference

Duration representation for use with the WallTime class. More...

#include <duration.h>

Inheritance diagram for ros::WallDuration:
Inheritance graph
[legend]

List of all members.

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 &)

Detailed Description

Duration representation for use with the WallTime class.

ros::DurationBase provides most of its functionality.

Definition at line 135 of file duration.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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


rostime
Author(s): Josh Faust
autogenerated on Sat Jun 8 2019 20:30:24