Public Member Functions | Static Public Member Functions | Public Attributes
org.ros.message.Time Class Reference

List of all members.

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

Detailed Description

ROS Time representation. Time and Time are primitive types in ROS. ROS represents each as two 32-bit integers: seconds and nanoseconds since epoch.

See also:
"http://www.ros.org/wiki/msg"
Author:
Jason Wolfe
kwc@willowgarage.com (Ken Conley)

Definition at line 41 of file Time.java.


Constructor & Destructor Documentation

Definition at line 46 of file Time.java.

org.ros.message.Time.Time ( int  secs,
int  nsecs 
) [inline]

Definition at line 51 of file Time.java.

org.ros.message.Time.Time ( double  secs) [inline]

Definition at line 57 of file Time.java.

Definition at line 63 of file Time.java.


Member Function Documentation

Definition at line 68 of file Time.java.

int org.ros.message.Time.compareTo ( Time  t) [inline]

Definition at line 147 of file Time.java.

boolean org.ros.message.Time.equals ( Object  obj) [inline]

Check for equality between Time objects.

This method does not normalize Time representations, so fields must match exactly.

Definition at line 136 of file Time.java.

static Time org.ros.message.Time.fromMillis ( long  timeInMillis) [inline, static]

Definition at line 80 of file Time.java.

static Time org.ros.message.Time.fromNano ( long  timeInNs) [inline, static]

Definition at line 86 of file Time.java.

Definition at line 121 of file Time.java.

boolean org.ros.message.Time.isZero ( ) [inline]

Definition at line 105 of file Time.java.

void org.ros.message.Time.normalize ( ) [inline]

Definition at line 109 of file Time.java.

Definition at line 72 of file Time.java.

Definition at line 76 of file Time.java.

double org.ros.message.Time.toSeconds ( ) [inline]

Definition at line 97 of file Time.java.

String org.ros.message.Time.toString ( ) [inline]

Definition at line 93 of file Time.java.

Definition at line 101 of file Time.java.


Member Data Documentation

Definition at line 44 of file Time.java.

Definition at line 43 of file Time.java.


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


rosjava_bootstrap
Author(s): Daniel Stonier , Damon Kohler
autogenerated on Fri Aug 28 2015 12:41:44