Public Member Functions | Static Public Member Functions | Public Attributes
ros::Time Class Reference

#include <time.h>

List of all members.

Public Member Functions

TimefromNSec (long t)
void fromSec (double t)
Timeoperator+= (const Duration &rhs)
Timeoperator-= (const Duration &rhs)
 Time ()
 Time (unsigned long _sec, unsigned long _nsec)
unsigned long toNsec ()
double toSec () const

Static Public Member Functions

static Time now ()
static void setNow (Time &new_now)

Public Attributes

unsigned long nsec
unsigned long sec

Detailed Description

Definition at line 45 of file time.h.


Constructor & Destructor Documentation

ros::Time::Time ( ) [inline]

Definition at line 50 of file time.h.

ros::Time::Time ( unsigned long  _sec,
unsigned long  _nsec 
) [inline]

Definition at line 51 of file time.h.


Member Function Documentation

Time & ros::Time::fromNSec ( long  t)

Definition at line 46 of file time.cpp.

void ros::Time::fromSec ( double  t) [inline]

Definition at line 57 of file time.h.

static Time ros::Time::now ( ) [static]
Time & ros::Time::operator+= ( const Duration rhs)

Definition at line 54 of file time.cpp.

Time & ros::Time::operator-= ( const Duration rhs)

Definition at line 62 of file time.cpp.

static void ros::Time::setNow ( Time new_now) [static]
unsigned long ros::Time::toNsec ( ) [inline]

Definition at line 59 of file time.h.

double ros::Time::toSec ( ) const [inline]

Definition at line 56 of file time.h.


Member Data Documentation

unsigned long ros::Time::nsec

Definition at line 48 of file time.h.

unsigned long ros::Time::sec

Definition at line 48 of file time.h.


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


ric_mc
Author(s): RoboTiCan
autogenerated on Fri May 20 2016 03:48:59