Public Member Functions | Public Attributes
ros::Duration Class Reference

#include <duration.h>

List of all members.

Public Member Functions

 Duration ()
 Duration (long _sec, long _nsec)
void fromSec (double t)
Durationoperator*= (double scale)
Durationoperator+= (const Duration &rhs)
Durationoperator-= (const Duration &rhs)
double toSec () const

Public Attributes

long nsec
long sec

Detailed Description

Definition at line 44 of file duration.h.


Constructor & Destructor Documentation

Definition at line 49 of file duration.h.

ros::Duration::Duration ( long  _sec,
long  _nsec 
) [inline]

Definition at line 50 of file duration.h.


Member Function Documentation

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

Definition at line 56 of file duration.h.

Duration & ros::Duration::operator*= ( double  scale)

Definition at line 74 of file duration.cpp.

Duration & ros::Duration::operator+= ( const Duration rhs)

Definition at line 59 of file duration.cpp.

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

Definition at line 67 of file duration.cpp.

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

Definition at line 55 of file duration.h.


Member Data Documentation

Definition at line 47 of file duration.h.

Definition at line 47 of file duration.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