com.kuka.roboticsAPI.requestModel
Class ConditionObserverRequest

java.lang.Object
  extended by com.kuka.roboticsAPI.requestModel.AbstractRequest
      extended by com.kuka.roboticsAPI.requestModel.ConditionObserverRequest
All Implemented Interfaces:
IRequest

public class ConditionObserverRequest
extends AbstractRequest

Request send to a condition observer module, controlling the behavior of the module.

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
ConditionObserverRequest(SPR spr, int conditionId, String command)
          Creates a new request instance.
 
Method Summary
 String getCommand()
          Get the command handled by this behavior.
 int getConditionId()
          Get the numerical ID of the observed condition.
 Boolean getResult()
          Gets the result of the request.
 SPR getSPR()
          Get the SPR handled by this behavior.
 void setSucceeded(boolean success)
          Indicates if this request has succeeded.
 
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
 

Constructor Detail

ConditionObserverRequest

public ConditionObserverRequest(SPR spr,
                                int conditionId,
                                String command)
Creates a new request instance.

Parameters:
spr - The receiving SPR.
conditionId - The condition to be handled.
command - The command as string.
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

getSPR

public SPR getSPR()
Get the SPR handled by this behavior.

Returns:
The SPR handled by this behavior.

getCommand

public String getCommand()
Get the command handled by this behavior.

Returns:
The command handled by this behavior.

getConditionId

public int getConditionId()
Get the numerical ID of the observed condition.

Returns:
The numerical ID of the observed condition.

setSucceeded

public void setSucceeded(boolean success)
Indicates if this request has succeeded.

Parameters:
success - True, if successful, 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.

getResult

public Boolean 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.