com.kuka.roboticsAPI.requestModel
Class GetBooleanDeviceObserverRequest
java.lang.Object
com.kuka.roboticsAPI.requestModel.AbstractRequest
com.kuka.roboticsAPI.requestModel.AbstractDeviceRequest
com.kuka.roboticsAPI.requestModel.GetBooleanDeviceObserverRequest
- All Implemented Interfaces:
- IDeviceRequest, IRequest
public class GetBooleanDeviceObserverRequest
- extends AbstractDeviceRequest
Generic device request for boolean results.
| Methods inherited from interface com.kuka.roboticsAPI.requestModel.IRequest |
hasResult |
ARE_DRIVES_RESERVERED
public static final String ARE_DRIVES_RESERVERED
- The DFE name for a request whether all drives of a device are reserved.
- See Also:
- Constant Field Values
ARE_ALL_AXES_MASTERED
public static final String ARE_ALL_AXES_MASTERED
- The DFE name for a request whether all axes of a device are mastered.
- See Also:
- Constant Field Values
GetBooleanDeviceObserverRequest
public GetBooleanDeviceObserverRequest(Robot robot,
String observer,
String dfeName)
- Parameters:
robot - The Robot to be queriedobserver - The observer name that should be querieddfeName - The port to be queried. Must not be null
getResult
public Object getResult()
- Description copied from interface:
IRequest
- Gets the result of the request.
- Returns:
- The result of the request.
getBooleanResult
public boolean getBooleanResult()
- Returns:
- The result casted to boolean
getDFEName
public String getDFEName()
- Returns:
- The name of the DFE
getObserverName
public String getObserverName()
- Returns:
- The name of the observer
setResult
public void setResult(boolean result)
- Parameters:
result - The result of the request
Copyright © 2019. All rights reserved.