com.kuka.roboticsAPI.controllerModel.sunrise
Interface ISunriseControllerStateListener

All Superinterfaces:
IControllerStateListener, com.kuka.common.events.IEventListener
All Known Implementing Classes:
SunriseControllerStateListenerAdapter

public interface ISunriseControllerStateListener
extends IControllerStateListener

Callback interface for state changes of a sunrise controller.

An empty base implementation is available with the class SunriseControllerStateListenerAdapter.


Method Summary
 void onConnectionLost(Controller controller)
          Called when the connection was lost to the controller.
 void onSafetyStateChanged(Device device, SunriseSafetyState safetyState)
          Called when the safety signals request changed.
 
Methods inherited from interface com.kuka.roboticsAPI.controllerModel.IControllerStateListener
onFieldBusDeviceConfigurationChangeReceived, onFieldBusDeviceIdentificationRequestReceived, onIsReadyToMoveChanged, onShutdown, onStatePortChangeReceived
 

Method Detail

onConnectionLost

void onConnectionLost(Controller controller)
Called when the connection was lost to the controller.

Parameters:
controller - The controller which lost the connection.

onSafetyStateChanged

void onSafetyStateChanged(Device device,
                          SunriseSafetyState safetyState)
Called when the safety signals request changed.

Parameters:
device - the device
safetyState - the state of the sunrise safety signals


Copyright © 2019. All rights reserved.