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 231 of file time.h.


Constructor & Destructor Documentation

Definition at line 234 of file time.h.

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

Definition at line 238 of file time.h.

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

Definition at line 242 of file time.h.


Member Function Documentation

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

Definition at line 254 of file time.h.

Returns the current wall clock time.

Definition at line 437 of file src/time.cpp.

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

Sleep until a specific time has been reached.

Definition at line 381 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