com.kuka.roboticsAPI.controllerModel.sunrise.conditions
Class SunriseConditionCommand

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.sunrise.conditions.SunriseConditionCommand
All Implemented Interfaces:
IControllerCommand

public class SunriseConditionCommand
extends Object
implements IControllerCommand

Class to manage event SPRs.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

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

SunriseConditionCommand

public SunriseConditionCommand()
Method Detail

getController

public Controller getController()
Description copied from interface: IControllerCommand
Gets the controller to which the command is targeted.

Specified by:
getController in interface IControllerCommand
Returns:
The controller to which the command is targeted. null is not allowed!

acquireResources

public void acquireResources(ICommandContainer container)
Description copied from interface: IControllerCommand
Asks the command to acquire it's resources that are needed for execution.

This 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.

Specified by:
acquireResources in interface IControllerCommand
Parameters:
container - The container which will be used for the execution of the command.

releaseResources

public void releaseResources(ICommandContainer container)
Description copied from interface: IControllerCommand
Tells the command to release it's resources.

Specified by:
releaseResources in interface IControllerCommand
Parameters:
container - The container which was used for the execution of the command.

getRuntimeData

public ICommandRuntimeData getRuntimeData()
Description copied from interface: IControllerCommand
Gets the runtime data object associated with the command.

Specified by:
getRuntimeData in interface IControllerCommand
Returns:
the runtime data associated with the command. Can be null.

getConditionObserverList

public List<SunriseConditionObserver> getConditionObserverList()
Get a list of all condition observers.

Returns:
List of condition observers.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

addConditionObserver

public void addConditionObserver(SunriseConditionObserver conditionObserver)
Add a condition Observer to the list.

Parameters:
conditionObserver - The condition Observer to add
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

setEventSPR

public void setEventSPR(SPR conditionObserverSPR)
Set an event SPR.

Parameters:
conditionObserverSPR - The condition observer SPR
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getEventSPR

public SPR getEventSPR()
Get a event SPR.

Returns:
The SPR
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.