|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.api.SunriseStopCondition
public class SunriseStopCondition
A StopCondition in a SPR tells Sunrise when the given SPR will go into maintaining. If a StopCondition get's true, it's hasFired method returns true.
| Constructor Summary | |
|---|---|
SunriseStopCondition()
Creates a new instance. |
|
SunriseStopCondition(String condition)
Creates a new stop condition. |
|
| Method Summary | |
|---|---|
String |
getCondition()
Gets the condition (the expression) of the stop condition. |
String |
getErrorMessage()
Gets the optional error message provided by the user when he declared the stop condition as an error stop condition. |
ICondition |
getUserDefinedStopCondition()
Gets the original user defined (non Sunrise) stop condition for the stop condition. |
boolean |
hasFired()
Gets the hasFired property. |
boolean |
hasSameDataAs(Object obj)
|
boolean |
isErrorStopCondition()
Gets the flag indicating if this stop condition is an error stop condition. |
boolean |
isStop1StopCondition()
Gets the flag indicating if this stop condition allows resume of execution. |
void |
markAsErrorStopCondition()
Marks this stop condition as an error stop condition. |
void |
markAsErrorStopCondition(String errorMessage)
Marks this stop condition as an error stop condition. |
void |
markAsStop1StopCondition()
Marks this stop condition as a stop condition which allows resume of execution. |
void |
resetFired()
Marks the stop condition as not fired. |
void |
setConditionExpression(String condition)
Sets the stop condition expression. |
void |
setFired()
Marks the stop condition as fired. |
void |
setUserDefinedStopCondition(ICondition condition)
Sets the original user defined (non Sunrise) stop condition for the stop condition. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SunriseStopCondition()
public SunriseStopCondition(String condition)
condition - The expression of the stop condition.| Method Detail |
|---|
public boolean isErrorStopCondition()
public void markAsErrorStopCondition()
The SunriseController will mark a command with the stop condition as invalid if the stop condition fires.
public void markAsStop1StopCondition()
The SunriseController will mark a command with the stop condition as canceled if the stop condition fires.
public boolean isStop1StopCondition()
public String getErrorMessage()
null.
null.public void markAsErrorStopCondition(String errorMessage)
The SunriseController will mark a command with the stop condition as invalid if the stop condition fires.
errorMessage - The optional error message which should be inserted by the
SunriseController. May be null.public String getCondition()
public void setConditionExpression(String condition)
condition - the stop condition expression.public String toString()
toString in class Objectpublic void setFired()
public void resetFired()
public boolean hasFired()
public void setUserDefinedStopCondition(ICondition condition)
condition - The original user defined (non Sunrise) stop condition for the
stop condition.public ICondition getUserDefinedStopCondition()
public boolean hasSameDataAs(Object obj)
hasSameDataAs in interface com.kuka.common.IDataEquatable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||