#include <time.h>
Public Member Functions | |
Time & | fromNSec (long t) |
void | fromSec (double t) |
Time & | operator+= (const Duration &rhs) |
Time & | operator-= (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 |
ros::Time::Time | ( | ) | [inline] |
ros::Time::Time | ( | unsigned long | _sec, |
unsigned long | _nsec | ||
) | [inline] |
Time & ros::Time::fromNSec | ( | long | t | ) |
void ros::Time::fromSec | ( | double | t | ) | [inline] |
static Time ros::Time::now | ( | ) | [static] |
static void ros::Time::setNow | ( | Time & | new_now | ) | [static] |
unsigned long ros::Time::toNsec | ( | ) | [inline] |
double ros::Time::toSec | ( | ) | const [inline] |
unsigned long ros::Time::nsec |
unsigned long ros::Time::sec |