com.kuka.roboticsAPI.controllerModel.sunrise
Interface IPrimitiveCallback

All Superinterfaces:
com.kuka.common.events.IEventListener

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

Callback interface to extend the functionality of StackPrimitive.


Method Summary
 void afterStateChanged(ExecutionState newState)
          Synchronously called when state of the primitive has changed.
 void beforeSprReplacement(SPR newSpr, SPR oldSpr)
          This method will synchronously called by StackPrimitive#handleSprReplacement(SPR, SPR) before the replacement takes place.
 

Method Detail

beforeSprReplacement

void beforeSprReplacement(SPR newSpr,
                          SPR oldSpr)
This method will synchronously called by StackPrimitive#handleSprReplacement(SPR, SPR) before the replacement takes place.

Parameters:
newSpr - SPR that will replace the old SPR in the StackPrimitive
oldSpr - SPR that will be replaced

afterStateChanged

void afterStateChanged(ExecutionState newState)
Synchronously called when state of the primitive has changed.

Parameters:
newState - mew primitive state.


Copyright © 2019. All rights reserved.