com.kuka.roboticsAPI.ioModel
Class MockedAnalogOutput
java.lang.Object
java.util.Observable
com.kuka.roboticsAPI.ioModel.AbstractIO
com.kuka.roboticsAPI.ioModel.Output
com.kuka.roboticsAPI.ioModel.AnalogOutput
com.kuka.roboticsAPI.ioModel.MockedAnalogOutput
public class MockedAnalogOutput
- extends AnalogOutput
Class for mocked analog 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 |
MockedAnalogOutput(Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
int bitSize,
double rangeStart,
double rangeEnd)
Creates a new mocked output. |
|
Method Summary |
Number |
getIOValue()
The IO is called to update it's value from the ioService. |
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 |
MockedAnalogOutput
public MockedAnalogOutput(Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
int bitSize,
double rangeStart,
double rangeEnd)
- 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 outputrangeStart - start of the analog rangerangeEnd - end of the analog range- 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.
Copyright © 2019. All rights reserved.