|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.conditionModel.BasicConditions
public final class BasicConditions
Utility class to simplify building complex conditions.
| Field Summary | |
|---|---|
static double |
DEFAULT_FORCE_TOLERANCE
The force tolerance threshold (10 [N]). |
static double |
DEFAULT_TORQUE_TOLERANCE
The torque tolerance threshold (10 [Nm]). |
| Method Summary | |
|---|---|
static ICondition |
and(ICondition condition1,
ICondition condition2,
ICondition... conditions)
Creates an AND relation between the given conditions. |
static ICondition |
not(ICondition condition)
Negates a condition. |
static ICondition |
or(ICondition condition1,
ICondition condition2,
ICondition... conditions)
Links two or more conditions using a disjunction. |
static ICondition |
xor(ICondition condition1,
ICondition condition2)
Creates a XOR connection between the given conditions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double DEFAULT_FORCE_TOLERANCE
public static final double DEFAULT_TORQUE_TOLERANCE
| Method Detail |
|---|
public static ICondition and(ICondition condition1,
ICondition condition2,
ICondition... conditions)
condition1 - first condition of AND relationcondition2 - second condition for AND relationconditions - further optional conditions for AND relation
IllegalArgumentException - if any of the conditions is null
public static ICondition or(ICondition condition1,
ICondition condition2,
ICondition... conditions)
condition1 - the condition that will be linked with the calling condition.condition2 - further optional conditions.conditions - further optional conditions for OR relation
IllegalArgumentException - if any of the conditions is null
public static ICondition xor(ICondition condition1,
ICondition condition2)
condition1 - first condition of XOR connectioncondition2 - second condition for XOR connection
public static ICondition not(ICondition condition)
condition - condition to negate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||