|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.conditions.SunriseConditionCommand
public class SunriseConditionCommand
Class to manage event SPRs.
| Constructor Summary | |
|---|---|
SunriseConditionCommand()
|
|
| Method Summary | |
|---|---|
void |
acquireResources(ICommandContainer container)
Asks the command to acquire it's resources that are needed for execution. |
void |
addConditionObserver(SunriseConditionObserver conditionObserver)
Add a condition Observer to the list. |
List<SunriseConditionObserver> |
getConditionObserverList()
Get a list of all condition observers. |
Controller |
getController()
Gets the controller to which the command is targeted. |
SPR |
getEventSPR()
Get a event SPR. |
ICommandRuntimeData |
getRuntimeData()
Gets the runtime data object associated with the command. |
void |
releaseResources(ICommandContainer container)
Tells the command to release it's resources. |
void |
setEventSPR(SPR conditionObserverSPR)
Set an event SPR. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SunriseConditionCommand()
| Method Detail |
|---|
public Controller getController()
IControllerCommand
getController in interface IControllerCommandnull is not allowed!public void acquireResources(ICommandContainer container)
IControllerCommandThis method can block until the resources are available. The method is called before the command is passed to the controller. Implementing classes should throw an exception if preparation fails.
acquireResources in interface IControllerCommandcontainer - The container which will be used for the execution of the
command.public void releaseResources(ICommandContainer container)
IControllerCommand
releaseResources in interface IControllerCommandcontainer - The container which was used for the execution of the command.public ICommandRuntimeData getRuntimeData()
IControllerCommand
getRuntimeData in interface IControllerCommandnull.public List<SunriseConditionObserver> getConditionObserverList()
public void addConditionObserver(SunriseConditionObserver conditionObserver)
conditionObserver - The condition Observer to addpublic void setEventSPR(SPR conditionObserverSPR)
conditionObserverSPR - The condition observer SPRpublic SPR getEventSPR()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||