#include <duration.h>
Public Member Functions | |
Duration () | |
Duration (long _sec, long _nsec) | |
void | fromSec (double t) |
Duration & | operator*= (double scale) |
Duration & | operator+= (const Duration &rhs) |
Duration & | operator-= (const Duration &rhs) |
double | toSec () const |
Public Attributes | |
long | nsec |
long | sec |
Definition at line 44 of file duration.h.
ros::Duration::Duration | ( | ) | [inline] |
Definition at line 49 of file duration.h.
ros::Duration::Duration | ( | long | _sec, |
long | _nsec | ||
) | [inline] |
Definition at line 50 of file duration.h.
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.
Definition at line 59 of file duration.cpp.
Definition at line 67 of file duration.cpp.
double ros::Duration::toSec | ( | ) | const [inline] |
Definition at line 55 of file duration.h.
long ros::Duration::nsec |
Definition at line 47 of file duration.h.
long ros::Duration::sec |
Definition at line 47 of file duration.h.