|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISunriseCommandExecutor
Interface that should implement classes that can execute SPRs.
| Method Summary | |
|---|---|
void |
beforePossibleStateChange(SPRRuntime sprRuntime,
SPRState currentState,
SPRState newState)
Called when an SPR state change is requested. |
SunriseConnection |
getConnection()
Gets the sunrise connection. |
com.kuka.roboticsAPI.executionModel.ExecutionMode |
getExecutionMode()
Gets the current execution mode. |
ExecutorService |
getSprListenerWorker()
Gets the worker for SPR listener events. |
void |
removeFinishedSPRRuntime(SPRRuntime sprRuntime)
Removed SPR form the list of active SPRs when it is finished. |
void |
sprStateChangeToMaintaining(SPRRuntime sprRuntime)
Called when an SPR changes its state to Maintaining. |
| Method Detail |
|---|
void removeFinishedSPRRuntime(SPRRuntime sprRuntime)
sprRuntime - SPR to remove.void sprStateChangeToMaintaining(SPRRuntime sprRuntime)
sprRuntime - The SPR which changed its state to Maintaining.
void beforePossibleStateChange(SPRRuntime sprRuntime,
SPRState currentState,
SPRState newState)
Please Note: The function is also called if no state change is executed in the end.
sprRuntime - The SPR for which the state change was requested.currentState - The current state of the SPR.newState - The requested SPR state.ExecutorService getSprListenerWorker()
SunriseConnection getConnection()
com.kuka.roboticsAPI.executionModel.ExecutionMode getExecutionMode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||