com.kuka.roboticsAPI.requestModel
Interface IRequest

All Known Subinterfaces:
IDeviceRequest
All Known Implementing Classes:
AbstractDeviceRequest, AbstractGetOverrideRequest, AbstractRequest, AbstractSetOverrideRequest, ClipApplicationOverrideRequest, ClipManualOverrideRequest, ConditionObserverRequest, GetAlphaAngleRequest, GetAlphaInverseKinematicsFromReferenceRequest, GetApplicationOverrideRequest, GetBaseFlangeTransformationRequest, GetBooleanDeviceObserverRequest, GetCurrentConfigurationRequest, GetDeviceListRequest, GetEffectiveOverrideRequest, GetForceSensorDataRequest, GetForwardKinematicValidRequest, GetInverseKinematicsFromFrameAndRedundancyRequest, GetInverseKinematicsFromReferenceRequest, GetIODetailsRequest, GetIOGroupsRequest, GetJointLimitRequest, GetManualOverrideRequest, GetModuleListRequest, GetSafetySignalsRequest, GetSensorDataRequest, GetTorqueStateRequest, PausingRequest, ReadIORequest, SetApplicationOverrideRequest, SetManualOverrideRequest, SetSimulationSafetySignalsRequest, WriteIORequest

public interface IRequest

A request can be issued to a request service which belongs to a controller. The concrete implementation of the request service is responsible for handling the issued request. If a request is issued to a request service which cannot handle the request, it must leave it untouched. A global handler may then handle the request or if no handler handled the request, the API will throw an exception.

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 Summary
 Object getResult()
          Gets the result of the request.
 boolean hasResult()
          Determines if this request has a result and therefore was handled by the request service.
 

Method Detail

getResult

Object 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.

hasResult

boolean hasResult()
Determines if this request has a result and therefore was handled by the request service. If this method returns false, the request call will fail with an exception.

Returns:
True if this request was handled and therefore has a result. False otherwise.
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.