|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.commandModel.AbstractCommandRuntimeData
com.kuka.roboticsAPI.motionModel.SplineRuntimeData
public class SplineRuntimeData
Runtime data for a Spline or SplineJP motion.
Contains information about currently executed Spline segment. Throws notifications when this segment changes.
| Method Summary | |
|---|---|
void |
addListener(IMultiSegmentListener listener)
Adds listener for segment change events. |
SplineMotion<?> |
getCurrentSegment()
Gets the currently executed motion spline segment. |
SplineMotion<?> |
getSpline()
Gets the associated spline. |
void |
onCurrentSegmentChanged(int newSegmentId)
Should be called by the framework when the current segment id changes. |
void |
removeListener(IMultiSegmentListener listener)
Removes the listener for segment change events. |
| Methods inherited from class com.kuka.roboticsAPI.commandModel.AbstractCommandRuntimeData |
|---|
addRuntimeData, getRuntimeData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void addListener(IMultiSegmentListener listener)
addListener in interface IMultiSegmentMotionDatalistener - the listener for segment change events.public void removeListener(IMultiSegmentListener listener)
removeListener in interface IMultiSegmentMotionDatalistener - listener to remove.public void onCurrentSegmentChanged(int newSegmentId)
newSegmentId - new current segment idpublic SplineMotion<?> getCurrentSegment()
If spline is finished returns the last executed segment
getCurrentSegment in interface IMultiSegmentMotionDatanull
if current segment is not known.
IllegalStateException - if current segment is not known (associated spline is not
currently executed and was not executed)public SplineMotion<?> getSpline()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||