com.kuka.roboticsAPI.ioModel
Class MockedAnalogOutput

java.lang.Object
  extended by java.util.Observable
      extended by com.kuka.roboticsAPI.ioModel.AbstractIO
          extended by com.kuka.roboticsAPI.ioModel.Output
              extended by com.kuka.roboticsAPI.ioModel.AnalogOutput
                  extended by 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.AnalogOutput
validateValue
 
Methods inherited from class com.kuka.roboticsAPI.ioModel.Output
getReadIORequest, getWriteIORequest, setBooleanValue, setByteValue, setIntValue, setLongValue
 
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.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 group
ioName - name of the output
ioDataType - type of the output
bitSize - bit size of the output
rangeStart - start of the analog range
rangeEnd - 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.
Method Detail

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.