com.kuka.roboticsAPI.ioModel
Class Output

java.lang.Object
  extended by java.util.Observable
      extended by com.kuka.roboticsAPI.ioModel.AbstractIO
          extended by com.kuka.roboticsAPI.ioModel.Output
Direct Known Subclasses:
AnalogOutput, MockedOutput

public class Output
extends AbstractIO

class for common digital Outputs.

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
Output(Controller controller, String ioGroupName, String ioName, com.kuka.roboticsAPI.ioModel.IOTypes ioDataType, int bitSize)
          creates a new output.
 
Method Summary
protected  ReadIORequest getReadIORequest()
          Gets the request for reading an I/O value from the controller.
protected  WriteIORequest getWriteIORequest(Number value)
          gets the write request for the controller.
 void setBooleanValue(boolean value)
          Writes the boolean value on the output.
 void setByteValue(byte value)
          Writes the byte value on the output.
 void setIntValue(int value)
          Writes the int value on the output.
 void setIOValue(Number value)
          Writes the number value on the output.
 void setLongValue(long value)
          Writes the long value on the output.
 void validateValue(Number value)
          Validates the specified value.
 
Methods inherited from class com.kuka.roboticsAPI.ioModel.AbstractIO
getBitSize, getBooleanIOValue, getByteIOValue, getController, getDataType, getIntIOValue, getIOGroupName, getIOName, getIOValue, 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

Output

public Output(Controller controller,
              String ioGroupName,
              String ioName,
              com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
              int bitSize)
creates a new 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
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

getReadIORequest

protected final ReadIORequest getReadIORequest()
Gets the request for reading an I/O value from the controller. This request depends on whether the I/O is an output or input.

Specified by:
getReadIORequest in class AbstractIO
Returns:
the request for reading an I/O value from the controller.
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.

getWriteIORequest

protected WriteIORequest getWriteIORequest(Number value)
gets the write request for the controller.

Parameters:
value - value to write on the output
Returns:
the write request for the controller

validateValue

public void validateValue(Number value)
Validates the specified value.

Parameters:
value - the output value to set.
Throws:
IllegalStateException
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.

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.

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.

setByteValue

public void setByteValue(byte value)
Writes the byte value on the 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.

setIntValue

public void setIntValue(int value)
Writes the int value on the 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.

setLongValue

public void setLongValue(long value)
Writes the long value on the 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.