|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.mapping.AbstractMapper<SunriseMappingToken>
com.kuka.roboticsAPI.controllerModel.sunrise.mapping.SunriseMapper
com.kuka.roboticsAPI.controllerModel.sunrise.mapping.AbstractConditionMapper
public abstract class AbstractConditionMapper
Abstract Base class for condition mappers. To specify how the condition should be used, to following mapping tags are
used:
- ConditionType: Type of the condition (required). Must be of type ConditionTypes
- TriggerAction: The action that should be executed when the condition type is a TriggerCondition (only required if
condition type is TriggerCondition). Must be of type ITriggerAction
| Field Summary | |
|---|---|
static String |
CONDITION_EVALUATOR_TAG_NAME
The tag name for trigger actions. |
static String |
CONDITION_TYPE_TAG_NAME
The tag name of the condition type. |
static String |
TRIGGER_ACTION_TAG_NAME
The tag name for trigger actions. |
| Constructor Summary | |
|---|---|
AbstractConditionMapper()
|
|
| Method Summary | |
|---|---|
protected String |
getEdgeName(IConditionListener listener)
Sets name and executor of the corresponding edge. |
void |
map(SunriseMappingToken info)
This method is called when the mapper should map a command for which it is registered. |
abstract String |
mapEventCondition(ICondition condition,
SunriseMappingToken info)
Maps an event condition. |
protected void |
mapStopCondition(ICondition cond,
SunriseMappingToken info)
Maps a stop condition. |
String |
mapToSunriseConditionString(SunriseMappingToken info,
ICondition condition)
Maps the Condition to a Part SunriseConditionString which can be used within ComplexConditions. |
abstract String |
mapTriggerCondition(ICondition condition,
SunriseMappingToken info)
Maps a trigger condition. |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.mapping.SunriseMapper |
|---|
beforeMap |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.mapping.AbstractMapper |
|---|
getMapperTable, getMappingTypes, performMapping, register |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONDITION_TYPE_TAG_NAME
public static final String TRIGGER_ACTION_TAG_NAME
public static final String CONDITION_EVALUATOR_TAG_NAME
| Constructor Detail |
|---|
public AbstractConditionMapper()
| Method Detail |
|---|
public final void map(SunriseMappingToken info)
AbstractMapper
map in class AbstractMapper<SunriseMappingToken>info - The mapping information for the current mapping process.
public abstract String mapTriggerCondition(ICondition condition,
SunriseMappingToken info)
condition - the condition to mapinfo - mapping information
public abstract String mapEventCondition(ICondition condition,
SunriseMappingToken info)
condition - the condition to mapinfo - Mapping information
protected void mapStopCondition(ICondition cond,
SunriseMappingToken info)
cond - The condition to mapinfo - Mapping informationprotected String getEdgeName(IConditionListener listener)
listener - Corresponding listener
public String mapToSunriseConditionString(SunriseMappingToken info,
ICondition condition)
info - The mapping information for the current mapping process.condition - The current condition to map to a string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||