com.kuka.roboticsAPI.controllerModel.sunrise
Class MotionIDSetter

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.sunrise.MotionIDSetter
All Implemented Interfaces:
com.kuka.common.events.IEventListener, ISPRIdListener

public final class MotionIDSetter
extends Object
implements ISPRIdListener

Listens for a creation of a new SPR-ID in SPRRuntime and sets it in the SplineMotionModule of the Spline Motion SPR. The SPR-ID will be generated by the SPRRuntime before the SPR gets sent to Sunrise.

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
MotionIDSetter(SunriseMotionExecutionContainer executionContainer, SplineMotionModule motionModule)
          Constructor.
 
Method Summary
 void onSPRIdCreated(SPR spr, long sprID)
          Called when a new SPR ID is created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MotionIDSetter

public MotionIDSetter(SunriseMotionExecutionContainer executionContainer,
                      SplineMotionModule motionModule)
Constructor.

Parameters:
executionContainer - The Sunrise motion execution container, holds the MotionID.
motionModule - The Spline motion module. The MotionID will be set as a parameter there.
Method Detail

onSPRIdCreated

public void onSPRIdCreated(SPR spr,
                           long sprID)
Called when a new SPR ID is created.

Specified by:
onSPRIdCreated in interface ISPRIdListener
Parameters:
spr - The SPR for which the ID is being created.
sprID - The new SPR ID.
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.