|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.requestModel.AbstractRequest
com.kuka.roboticsAPI.requestModel.ReadIORequest
public class ReadIORequest
Request for reading an I/O.
| Constructor Summary | |
|---|---|
ReadIORequest(String ioGroup,
String ioName,
boolean isOutput,
com.kuka.roboticsAPI.ioModel.IOTypes ioType,
int bitSize)
Creates a new request. |
|
| Method Summary | |
|---|---|
int |
getBitSize()
Gets the bitSize of the IO. |
String |
getIOGroupName()
Gets the name of the IO group. |
String |
getIOName()
Gets the name of the IO. |
com.kuka.roboticsAPI.ioModel.IOTypes |
getIOType()
Gets the type of the IO. |
Number |
getResult()
Gets the result of the request (the IO value). |
boolean |
hasResult()
Returns true if getResult is not null. |
boolean |
isOutput()
IO is output. |
void |
setResult(Number result)
Sets the read IO result. |
| Methods inherited from class com.kuka.roboticsAPI.requestModel.AbstractRequest |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReadIORequest(String ioGroup,
String ioName,
boolean isOutput,
com.kuka.roboticsAPI.ioModel.IOTypes ioType,
int bitSize)
ioGroup - name of the IO groupioName - name of the IOisOutput - IO is outputioType - type of the IObitSize - bit size of the IO| Method Detail |
|---|
public Number getResult()
Integer with values 0 or 1
Long with in the allowable range for the IO type
Double
public boolean hasResult()
null. May be overridden by subclasses to
determine if the request has a result in a different way.
hasResult in interface IRequesthasResult in class AbstractRequestpublic String getIOGroupName()
public String getIOName()
public boolean isOutput()
public int getBitSize()
public com.kuka.roboticsAPI.ioModel.IOTypes getIOType()
public void setResult(Number result)
result - The result of the request, which is the IO value. The IO
values must be mapped as follows:
Integer with values 0 or 1
Long with in the allowable range for the IO type
Double
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||