|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.applicationModel.tasks.RoboticsAPITask
com.kuka.roboticsAPI.applicationModel.RoboticsAPIApplication
com.kuka.roboticsAPI.controllerModel.sunrise.SunriseApplication
public abstract class SunriseApplication
Base class for a native Sunrise application using just SPRs. This class provides the known methods of the SunriseAPI like execute, update or cancel.
| Constructor Summary | |
|---|---|
protected |
SunriseApplication()
For subclasses. |
protected |
SunriseApplication(RoboticsAPIContext context)
For subclasses. |
| Method Summary | |
|---|---|
void |
cancel(SPR spr)
Cancels the given SPR. |
void |
chooseController(String controllerName)
Sets the controller for this Sunrise application. |
ICommandContainer |
execute(SPR spr)
Executes the given SPR synchronously. |
ICommandContainer |
execute(SPR spr,
boolean blocking)
Executes the given SPR. |
Message |
execute(SSR ssr)
Executes a SSR. |
void |
execute(SSR ssr,
boolean blocking)
Executes a SSR. |
SunriseController |
getController()
Gets the sunrise controller used in this application. |
SunriseExecutionService |
getExecutionService()
Gets the Sunrise execution service used in this application. |
NameserverProxy |
getNameserver()
Returns the nameserver instance used for this application. |
SunriseRequestService |
getRequestService()
Gets the Sunrise request service used in this application. |
void |
update(SPR spr)
Updates the given SPR. |
| Methods inherited from class com.kuka.roboticsAPI.applicationModel.RoboticsAPIApplication |
|---|
createFromTemplate, getApplicationControl, getApplicationUI, getFrame, getRecovery, onApplicationStateChanged, runApplication |
| Methods inherited from class com.kuka.roboticsAPI.applicationModel.tasks.RoboticsAPITask |
|---|
dispose, getApplicationData, getContext, getController, getDevice, getDevice, getLogger, getObserverManager, getRobot, getRobot, getTaskFunction, getTaskManager, initialize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.kuka.roboticsAPI.applicationModel.tasks.ILegacyRoboticsAPITask |
|---|
getContext, getLogger |
| Methods inherited from interface com.kuka.task.IRoboticsAPITask |
|---|
dispose, initialize, run |
| Constructor Detail |
|---|
protected SunriseApplication(RoboticsAPIContext context)
context - The context of this application.protected SunriseApplication()
| Method Detail |
|---|
public final SunriseController getController()
public final SunriseExecutionService getExecutionService()
public final SunriseRequestService getRequestService()
public final void update(SPR spr)
spr - The SPR which should be updated.public final void cancel(SPR spr)
spr - The SPR which should be cancelled.public final Message execute(SSR ssr)
ssr - The SSR which should be sent. null is not
allowed.
public final void execute(SSR ssr,
boolean blocking)
ssr - The SSR which should be sent. null is not
allowed.blocking - Indicates if this method should block until the request is
complete, or not.
public final ICommandContainer execute(SPR spr,
boolean blocking)
spr - The SPR which should be executed.blocking - True if the execution should block until the SPR is finished.
com.kuka.common.ThreadInterruptedException - if the execution was interrupted while waiting for end of
executionpublic final ICommandContainer execute(SPR spr)
spr - The SPR which should be executed.
public final NameserverProxy getNameserver()
public final void chooseController(String controllerName)
controllerName - The name of the sunrise controller (this is the name in the
xml file).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||