com.kuka.roboticsAPI.controllerModel.sunrise
Class FiredConditionInfo

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.sunrise.FiredConditionInfo
All Implemented Interfaces:
IFiredConditionInfo

public class FiredConditionInfo
extends Object
implements IFiredConditionInfo

Sunrise implementation of fired condition result.

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
FiredConditionInfo(ICondition firedCondition, PositionInformation positionInformation, IMotion stoppedMotion)
          Creates a new instance of FiredConditionInfo.
 
Method Summary
 ICondition getFiredCondition()
          Gets the fired condition.
 PositionInformation getPositionInfo()
          Gets the position snapshot where the condition has fired.
 IMotion getStoppedMotion()
          Gets the motion that was executed when the stop condition has fired.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FiredConditionInfo

public FiredConditionInfo(ICondition firedCondition,
                          PositionInformation positionInformation,
                          IMotion stoppedMotion)
Creates a new instance of FiredConditionInfo.

Parameters:
firedCondition - The condition which has fired.
positionInformation - The position information snapshot where the condition has fired.
stoppedMotion - The executing motion when the condition was fired.
Method Detail

getFiredCondition

public ICondition getFiredCondition()
Description copied from interface: IFiredConditionInfo
Gets the fired condition.

Specified by:
getFiredCondition in interface IFiredConditionInfo
Returns:
The fired condition.

getPositionInfo

public PositionInformation getPositionInfo()
Description copied from interface: IFiredConditionInfo
Gets the position snapshot where the condition has fired.

Specified by:
getPositionInfo in interface IFiredConditionInfo
Returns:
The position snapshot where the condition has fired if possible; otherwise null.

getStoppedMotion

public IMotion getStoppedMotion()
Description copied from interface: IFiredConditionInfo
Gets the motion that was executed when the stop condition has fired.

Specified by:
getStoppedMotion in interface IFiredConditionInfo
Returns:
the motion that was executed when the stop condition has fired.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2019. All rights reserved.