com.kuka.roboticsAPI.ioModel
Class MockedInput
java.lang.Object
java.util.Observable
com.kuka.roboticsAPI.ioModel.AbstractIO
com.kuka.roboticsAPI.ioModel.Input
com.kuka.roboticsAPI.ioModel.MockedInput
public class MockedInput
- extends Input
Class for mocked inputs. The input values are not sent to the controller but
handled within the Mocked input 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 |
MockedInput(Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
int bitSize,
Object initialValue)
creates a new mocked input. |
|
Method Summary |
Number |
getIOValue()
The IO is called to update it's value from the ioService. |
void |
setValue(Object value)
sets the mocked value to the specified value. |
| 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 |
MockedInput
public MockedInput(Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
int bitSize,
Object initialValue)
- creates a new mocked input.
- Parameters:
controller - controller that handles the inputioGroupName - group name of the inputioName - name of the inputioDataType - type of the inputbitSize - bit size of the inputinitialValue - the initial value of the input- 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.
setValue
public void setValue(Object value)
- sets the mocked value to the specified value.
- Parameters:
value - the value to set- 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.