|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
com.kuka.roboticsAPI.ioModel.AbstractIO
com.kuka.roboticsAPI.ioModel.Output
public class Output
class for common digital Outputs.
| 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 |
|---|
public Output(Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
int bitSize)
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| Method Detail |
|---|
protected final ReadIORequest getReadIORequest()
getReadIORequest in class AbstractIOprotected WriteIORequest getWriteIORequest(Number value)
value - value to write on the output
public void validateValue(Number value)
value - the output value to set.
IllegalStateExceptionpublic void setIOValue(Number value)
value - value to writepublic void setBooleanValue(boolean value)
value - value to writepublic void setByteValue(byte value)
value - value to writepublic void setIntValue(int value)
value - value to writepublic void setLongValue(long value)
value - value to write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||