|
||||||||||
| 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
public abstract class AbstractIO
Abstract base class for IOs.
| Constructor Summary | |
|---|---|
protected |
AbstractIO(Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
int bitSize)
Creates a new IO object. |
| Method Summary | |
|---|---|
int |
getBitSize()
Gets the bit size of the I/O. |
boolean |
getBooleanIOValue()
The IO is called to update it's value from the ioService. |
byte |
getByteIOValue()
The IO is called to update it's value from the ioService. |
Controller |
getController()
Gets the controller used for writing / reading I/O requests. |
com.kuka.roboticsAPI.ioModel.IOTypes |
getDataType()
Gets the data type of the IO. |
int |
getIntIOValue()
The IO is called to update it's value from the ioService. |
String |
getIOGroupName()
Gets the name of the IO group. |
String |
getIOName()
Gets the name of the IO. |
Number |
getIOValue()
The IO is called to update it's value from the ioService. |
long |
getLongIOValue()
The IO is called to update it's value from the ioService. |
protected abstract ReadIORequest |
getReadIORequest()
Gets the request for reading an I/O value from the controller. |
boolean |
isBoolean()
Checks for compatibility with Java types. |
boolean |
isByte()
Checks for compatibility with Java types. |
boolean |
isInteger()
Checks for compatibility with Java types. |
boolean |
isLong()
Checks for compatibility with Java types. |
| 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 |
|---|
protected AbstractIO(Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
int bitSize)
controller - the used controller.ioGroupName - name of the IO-groupioName - name of the IOioDataType - data type of the IObitSize - bit size of the IO| Method Detail |
|---|
public com.kuka.roboticsAPI.ioModel.IOTypes getDataType()
public String getIOGroupName()
public String getIOName()
public Controller getController()
public int getBitSize()
protected abstract ReadIORequest getReadIORequest()
public Number getIOValue()
public boolean isBoolean()
public boolean isByte()
public boolean isInteger()
public boolean isLong()
public boolean getBooleanIOValue()
IllegalStateException - if the IO is not of type Booleanpublic byte getByteIOValue()
IllegalStateException - if the IO is not of type bytepublic int getIntIOValue()
IllegalStateException - if the IO is not of type intpublic long getLongIOValue()
IllegalStateException - if the IO is not of type long
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||