|
||||||||||
| 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.GetIODetailsRequest
public class GetIODetailsRequest
Request to get information about IOs.
| Nested Class Summary | |
|---|---|
static class |
GetIODetailsRequest.GetIOCommandType
The possible types of the IO request. |
| Constructor Summary | |
|---|---|
GetIODetailsRequest()
Creates a request to get detailed information about all IOs of the controller. |
|
GetIODetailsRequest(com.kuka.roboticsAPI.ioModel.IOGroupDetail ioGroupDetails)
Creates a request that updates the value of the supplied IO-group IOs. |
|
GetIODetailsRequest(String ioGroupName)
Creates a request to get detailed information about all the IOs that belong to the specified IO-group. |
|
GetIODetailsRequest(String busDriverName,
String busInstanceName)
Creates a request to get detailed information about all the IOs that belong to the specified bus (identified by bus driver name and bus instance name). |
|
GetIODetailsRequest(String ioGroupName,
String ioName,
boolean isOutput)
Creates a request to get detailed information about a specific IO of the controller. |
|
| Method Summary | |
|---|---|
void |
addDetail(com.kuka.roboticsAPI.ioModel.IODetail detail)
Adds an IO detail to the result list. |
com.kuka.roboticsAPI.ioModel.IODetail |
findDetail(String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IODirection direction,
int possibleIndex)
Tries to find the an IODetail in the result list that matches the specified names and direction. |
String |
getBusDriverName()
Gets the name of the bus driver. |
String |
getBusInstanceName()
Gets the bus instance name. |
GetIODetailsRequest.GetIOCommandType |
getGetIOCommandType()
Gets the type the get IO request (indicates whether all, only an IO-group or only an IO should be queried). |
String |
getIOGroupName()
Gets the name of the IO group that should be queried. |
String |
getIOName()
Gets the name of the IO that should be queried. |
List<com.kuka.roboticsAPI.ioModel.IODetail> |
getResult()
Gets the result of the request. |
boolean |
hasResult()
Returns true if getResult is not null. |
boolean |
isGetFullDetails()
Gets the detail level of the request answer. |
boolean |
isOutput()
Gets the direction of the I/O. |
void |
setHasResult()
Signals that a result is existing ant set. |
| 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 GetIODetailsRequest()
public GetIODetailsRequest(String ioGroupName,
String ioName,
boolean isOutput)
ioGroupName - name of the IO-group the IO belongs toioName - name of the IOisOutput - true if the IO is an output, false otherwisepublic GetIODetailsRequest(String ioGroupName)
ioGroupName - name of the IO grouppublic GetIODetailsRequest(com.kuka.roboticsAPI.ioModel.IOGroupDetail ioGroupDetails)
ioGroupDetails - all details about the IO-group.
public GetIODetailsRequest(String busDriverName,
String busInstanceName)
busDriverName - bus driver namebusInstanceName - bus instance name| Method Detail |
|---|
public String getIOGroupName()
public String getBusDriverName()
public String getBusInstanceName()
public String getIOName()
public boolean isOutput()
public GetIODetailsRequest.GetIOCommandType getGetIOCommandType()
public boolean isGetFullDetails()
public List<com.kuka.roboticsAPI.ioModel.IODetail> getResult()
public void setHasResult()
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 void addDetail(com.kuka.roboticsAPI.ioModel.IODetail detail)
detail - the detail to add.
public com.kuka.roboticsAPI.ioModel.IODetail findDetail(String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.IODirection direction,
int possibleIndex)
ioGroupName - name of the IO-group.ioName - name of the IOdirection - direction of the IOpossibleIndex - possible index within the the result list where the details
can be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||