com.kuka.roboticsAPI.controllerModel.sunrise.api
Interface ISPRStateListener

All Superinterfaces:
com.kuka.common.events.IEventListener
All Known Implementing Classes:
CartesianVelocityModule, JointVelocityModule, RemoteModule

public interface ISPRStateListener
extends com.kuka.common.events.IEventListener

Interface which is used by a SPR to indicate a state change. A state listener is informed when the state of the SPR has changed.

All state events for all SPRs are handled within one worker thread. Therefore you have to ensure that the event method returns quickly.

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.

Method Summary
 void onSPRStateChanged(SPR spr, SPRState newState)
          Called when the state of the given SPR changed.
 

Method Detail

onSPRStateChanged

void onSPRStateChanged(SPR spr,
                       SPRState newState)
Called when the state of the given SPR changed.

Parameters:
spr - The SPR which changed it's state.
newState - The new state of 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.