com.kuka.roboticsAPI.sensorModel
Class GetSensorDataRequest<T extends ISensorData<T>>

java.lang.Object
  extended by com.kuka.roboticsAPI.requestModel.AbstractRequest
      extended by com.kuka.roboticsAPI.requestModel.AbstractDeviceRequest
          extended by com.kuka.roboticsAPI.sensorModel.GetSensorDataRequest<T>
Type Parameters:
T - concrete type of the sensor data
All Implemented Interfaces:
IDeviceRequest, IRequest
Direct Known Subclasses:
GetForceSensorDataRequest

public class GetSensorDataRequest<T extends ISensorData<T>>
extends AbstractDeviceRequest

Request to update some given sensor data for a given sensor.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Constructor Summary
GetSensorDataRequest(Sensor<T> sensor)
          Creates a new request instance.
 
Method Summary
 Sensor<T> getDevice()
          The device to which the request is issued.
 T getResult()
          Gets the result of the request.
 void setResult(T resultData)
          Sets the result for this request.
 
Methods inherited from class com.kuka.roboticsAPI.requestModel.AbstractRequest
hasResult, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.kuka.roboticsAPI.requestModel.IRequest
hasResult
 

Constructor Detail

GetSensorDataRequest

public GetSensorDataRequest(Sensor<T> sensor)
Creates a new request instance.

Parameters:
sensor - The sensor to which this request is issued.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
Method Detail

getDevice

public Sensor<T> getDevice()
The device to which the request is issued.

Specified by:
getDevice in interface IDeviceRequest
Overrides:
getDevice in class AbstractDeviceRequest
Returns:
The device to which the request is issued.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

setResult

public void setResult(T resultData)
Sets the result for this request.

Parameters:
resultData - the result data
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getResult

public T getResult()
Gets the result of the request.

Returns:
The result of the request.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.