com.kuka.roboticsAPI.controllerModel
Class ConditionService

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.ControllerService
      extended by com.kuka.roboticsAPI.controllerModel.ConditionService
Direct Known Subclasses:
SunriseConditionService

public abstract class ConditionService
extends ControllerService

Class to create and remove condition observers.


Constructor Summary
ConditionService()
           
 
Method Summary
abstract  ConditionObserver createAndEnableConditionObserver(ICondition condition, NotificationType notificationType, IConditionListener edgeListener)
          Creates and enables a condition observer.
abstract  ConditionObserver createConditionObserver(ICondition condition, NotificationType notificationType, IConditionListener edgeListener)
          Creates a condition observer.
abstract  List<ConditionObserver> getConditionObservers()
          Get a collection of all registered condition observers.
abstract  void removeConditionObserver(ConditionObserver observer)
          Removes the corresponding condition observer.
 
Methods inherited from class com.kuka.roboticsAPI.controllerModel.ControllerService
dispose, getContext, getController, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionService

public ConditionService()
Method Detail

createConditionObserver

public abstract ConditionObserver createConditionObserver(ICondition condition,
                                                          NotificationType notificationType,
                                                          IConditionListener edgeListener)
Creates a condition observer.

Parameters:
condition - Condition to be observed
notificationType - Notification options of the ConditionObserver
edgeListener - Corresponding edge listener
Returns:
the condition observer

createAndEnableConditionObserver

public abstract ConditionObserver createAndEnableConditionObserver(ICondition condition,
                                                                   NotificationType notificationType,
                                                                   IConditionListener edgeListener)
Creates and enables a condition observer.

Parameters:
condition - Condition to be observed
notificationType - Notification options of the ConditionObserver
edgeListener - Corresponding edge listener
Returns:
the condition observer

removeConditionObserver

public abstract void removeConditionObserver(ConditionObserver observer)
Removes the corresponding condition observer.

Parameters:
observer - The corresponding condition observer to be removed

getConditionObservers

public abstract List<ConditionObserver> getConditionObservers()
Get a collection of all registered condition observers.

Returns:
Collection of Sunrise condition observers


Copyright © 2019. All rights reserved.