com.kuka.roboticsAPI.controllerModel
Class ControllerStateListenerAdapter

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.ControllerStateListenerAdapter
All Implemented Interfaces:
com.kuka.common.events.IEventListener, IControllerStateListener
Direct Known Subclasses:
SunriseControllerStateListenerAdapter

public abstract class ControllerStateListenerAdapter
extends Object
implements IControllerStateListener

Empty base implementation of a controller listener.


Constructor Summary
ControllerStateListenerAdapter()
           
 
Method Summary
 void onFieldBusDeviceConfigurationChangeReceived(String controllerName, DispatchedEventData dispatchedEvent)
          Called when a field bus device configuration change request comes in.
 void onFieldBusDeviceIdentificationRequestReceived(String controllerName, DispatchedEventData dispatchedEvent)
          Called when a field bus identification comes.
 void onIsReadyToMoveChanged(Device device, boolean isReadyToMove)
          Called when the result of MovableDevice.isReadyToMove() has changed.
 void onShutdown(Controller controller)
          called when the controller is shut down.
 void onStatePortChangeReceived(Controller controller, com.kuka.roboticsAPI.controllerModel.StatePortData data)
          Called when the a state port of the controller has changed its state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerStateListenerAdapter

public ControllerStateListenerAdapter()
Method Detail

onShutdown

public void onShutdown(Controller controller)
Description copied from interface: IControllerStateListener
called when the controller is shut down.

Specified by:
onShutdown in interface IControllerStateListener
Parameters:
controller - the controller that is shutdown

onStatePortChangeReceived

public void onStatePortChangeReceived(Controller controller,
                                      com.kuka.roboticsAPI.controllerModel.StatePortData data)
Description copied from interface: IControllerStateListener
Called when the a state port of the controller has changed its state.

Specified by:
onStatePortChangeReceived in interface IControllerStateListener
Parameters:
controller - the controller which changed it's state.
data - the new state port data.

onIsReadyToMoveChanged

public void onIsReadyToMoveChanged(Device device,
                                   boolean isReadyToMove)
Description copied from interface: IControllerStateListener
Called when the result of MovableDevice.isReadyToMove() has changed.

Specified by:
onIsReadyToMoveChanged in interface IControllerStateListener
Parameters:
device - The addressed device for which the state has changed
isReadyToMove - True if the device is ready to move. The conditions whether a device is ready to move depends of the type of device. At least the SunriseSafetyState.SafetyStopType is SunriseSafetyState.SafetyStopType.NOSTOP,

onFieldBusDeviceConfigurationChangeReceived

public void onFieldBusDeviceConfigurationChangeReceived(String controllerName,
                                                        DispatchedEventData dispatchedEvent)
Description copied from interface: IControllerStateListener
Called when a field bus device configuration change request comes in.

Specified by:
onFieldBusDeviceConfigurationChangeReceived in interface IControllerStateListener
Parameters:
controllerName - the controller with the changed configuration.
dispatchedEvent - contains the new communication layer parameters.

onFieldBusDeviceIdentificationRequestReceived

public void onFieldBusDeviceIdentificationRequestReceived(String controllerName,
                                                          DispatchedEventData dispatchedEvent)
Description copied from interface: IControllerStateListener
Called when a field bus identification comes.

Specified by:
onFieldBusDeviceIdentificationRequestReceived in interface IControllerStateListener
Parameters:
controllerName - the controller which received the identification request
dispatchedEvent - contains the new blinking parameters.


Copyright © 2019. All rights reserved.