com.kuka.roboticsAPI.ioModel
Class MockedOutput
java.lang.Object
java.util.Observable
com.kuka.roboticsAPI.ioModel.AbstractIO
com.kuka.roboticsAPI.ioModel.Output
com.kuka.roboticsAPI.ioModel.MockedOutput
public class MockedOutput
- extends Output
Class for mocked outputs. The output values are not sent to the controller
but handled within the Mocked output class.
- 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 |
MockedOutput(Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
int bitSize)
creates a new mocked output. |
|
Method Summary |
Number |
getIOValue()
The IO is called to update it's value from the ioService. |
void |
setBooleanValue(boolean value)
Writes the boolean value on the output. |
void |
setIOValue(Number value)
Writes the number value on the output. |
| Methods inherited from class com.kuka.roboticsAPI.ioModel.AbstractIO |
getBitSize, getBooleanIOValue, getByteIOValue, getController, getDataType, getIntIOValue, getIOGroupName, getIOName, getLongIOValue, isBoolean, isByte, isInteger, isLong |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockedOutput
public MockedOutput(Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
int bitSize)
- creates a new mocked output.
- Parameters:
controller - controller that handles the output.ioGroupName - name of the output groupioName - name of the outputioDataType - type of the outputbitSize - bit size of the output- 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.
getIOValue
public Number getIOValue()
- The IO is called to update it's value from the ioService.
- Overrides:
getIOValue in class AbstractIO
- Returns:
- The current value of the IO.
- 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.
setIOValue
public void setIOValue(Number value)
- Writes the number value on the output.
- Overrides:
setIOValue in class Output
- Parameters:
value - value to write- 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.
setBooleanValue
public void setBooleanValue(boolean value)
- Writes the boolean value on the output.
- Overrides:
setBooleanValue in class Output
- Parameters:
value - value to write- 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.