|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.sensorModel.AbstractSensorData<T>
T - concrete type of the sensor datapublic abstract class AbstractSensorData<T extends ISensorData<T>>
Base class for sensor data. Implements the sensor data interface.
| Constructor Summary | |
|---|---|
protected |
AbstractSensorData()
Creates a new sensor data instance with the current time as time stamp. |
| Method Summary | |
|---|---|
long |
getTimestamp()
Gets the system dependent time stamp when this sensor data object was created. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractSensorData()
| Method Detail |
|---|
public final long getTimestamp()
Warning: This time stamp is not portable and has only a meaning on the
system where this object was created. The value is that returned by the
function System.nanoTime() at the time this object was created.
The precision of the time stamp is nanoseconds. It can only be used to
compare time stamps of the same kind.
The time stamp does not specify when the sensor data was actually taken.
getTimestamp in interface ISensorData<T extends ISensorData<T>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||