Public Member Functions | Static Public Member Functions
ros::WallTime Class Reference

Time representation. Always wall-clock time. More...

#include <time.h>

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

List of all members.

Public Member Functions

 WallTime ()
 WallTime (uint32_t _sec, uint32_t _nsec)
 WallTime (double t)

Static Public Member Functions

static bool isSystemTime ()
static WallTime now ()
 Returns the current wall clock time.
static bool sleepUntil (const WallTime &end)
 Sleep until a specific time has been reached.

Detailed Description

Time representation. Always wall-clock time.

ros::TimeBase provides most of its functionality.

Definition at line 224 of file time.h.


Constructor & Destructor Documentation

Definition at line 227 of file time.h.

ros::WallTime::WallTime ( uint32_t  _sec,
uint32_t  _nsec 
) [inline]

Definition at line 231 of file time.h.

ros::WallTime::WallTime ( double  t) [inline, explicit]

Definition at line 235 of file time.h.


Member Function Documentation

static bool ros::WallTime::isSystemTime ( ) [inline, static]

Definition at line 247 of file time.h.

Returns the current wall clock time.

Definition at line 430 of file time.cpp.

bool ros::WallTime::sleepUntil ( const WallTime end) [static]

Sleep until a specific time has been reached.

Definition at line 374 of file time.cpp.


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


rostime
Author(s): Josh Faust
autogenerated on Fri Jan 3 2014 11:49:59