Public Member Functions | |
Time | add (Duration d) |
int | compareTo (Time t) |
boolean | equals (Object obj) |
int | hashCode () |
boolean | isZero () |
void | normalize () |
Time | subtract (Duration d) |
Duration | subtract (Time t) |
Time () | |
Time (int secs, int nsecs) | |
Time (double secs) | |
Time (Time t) | |
double | toSeconds () |
String | toString () |
long | totalNsecs () |
Static Public Member Functions | |
static Time | fromMillis (long timeInMillis) |
static Time | fromNano (long timeInNs) |
Public Attributes | |
int | nsecs |
int | secs |
ROS Time representation. Time and Time are primitive types in ROS. ROS represents each as two 32-bit integers: seconds and nanoseconds since epoch.
org.ros.message.Time.Time | ( | ) | [inline] |
org.ros.message.Time.Time | ( | int | secs, |
int | nsecs | ||
) | [inline] |
org.ros.message.Time.Time | ( | double | secs | ) | [inline] |
org.ros.message.Time.Time | ( | Time | t | ) | [inline] |
Time org.ros.message.Time.add | ( | Duration | d | ) | [inline] |
int org.ros.message.Time.compareTo | ( | Time | t | ) | [inline] |
boolean org.ros.message.Time.equals | ( | Object | obj | ) | [inline] |
static Time org.ros.message.Time.fromMillis | ( | long | timeInMillis | ) | [inline, static] |
static Time org.ros.message.Time.fromNano | ( | long | timeInNs | ) | [inline, static] |
int org.ros.message.Time.hashCode | ( | ) | [inline] |
boolean org.ros.message.Time.isZero | ( | ) | [inline] |
void org.ros.message.Time.normalize | ( | ) | [inline] |
Time org.ros.message.Time.subtract | ( | Duration | d | ) | [inline] |
Duration org.ros.message.Time.subtract | ( | Time | t | ) | [inline] |
double org.ros.message.Time.toSeconds | ( | ) | [inline] |
String org.ros.message.Time.toString | ( | ) | [inline] |
long org.ros.message.Time.totalNsecs | ( | ) | [inline] |