com.kuka.roboticsAPI.controllerModel.sunrise.mapping
Class ComplexConditionMapper

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.mapping.AbstractMapper<SunriseMappingToken>
      extended by com.kuka.roboticsAPI.controllerModel.sunrise.mapping.SunriseMapper
          extended by com.kuka.roboticsAPI.controllerModel.sunrise.mapping.AbstractConditionMapper
              extended by com.kuka.roboticsAPI.controllerModel.sunrise.mapping.ComplexConditionMapper

public class ComplexConditionMapper
extends AbstractConditionMapper

Maps the known complex conditions to the API.

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.

Field Summary
 
Fields inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.mapping.AbstractConditionMapper
CONDITION_EVALUATOR_TAG_NAME, CONDITION_TYPE_TAG_NAME, TRIGGER_ACTION_TAG_NAME
 
Constructor Summary
ComplexConditionMapper()
           
 
Method Summary
 Collection<Class<?>> getMappingTypes()
          Gets the mapping types which this mapper can map.
 String mapEventCondition(ICondition condition, SunriseMappingToken info)
          Maps an event condition.
 String mapToSunriseConditionString(SunriseMappingToken info, ICondition condition)
          
 String mapTriggerCondition(ICondition condition, SunriseMappingToken info)
          Maps a trigger condition.
 
Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.mapping.AbstractConditionMapper
getEdgeName, map, mapStopCondition
 
Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.mapping.SunriseMapper
beforeMap
 
Methods inherited from class com.kuka.roboticsAPI.controllerModel.mapping.AbstractMapper
getMapperTable, performMapping, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexConditionMapper

public ComplexConditionMapper()
Method Detail

getMappingTypes

public Collection<Class<?>> getMappingTypes()
Gets the mapping types which this mapper can map. A type can be a command or a part of a command, depending on what the mapper is able to do. For example, the type could be an IAction, an IControllerCommand or an IStopCondition.

Specified by:
getMappingTypes in class AbstractMapper<SunriseMappingToken>
Returns:
The mapping types which this mapper can map. null is not allowed.
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.

mapToSunriseConditionString

public String mapToSunriseConditionString(SunriseMappingToken info,
                                          ICondition condition)

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.

mapTriggerCondition

public String mapTriggerCondition(ICondition condition,
                                  SunriseMappingToken info)
Description copied from class: AbstractConditionMapper
Maps a trigger condition.

Specified by:
mapTriggerCondition in class AbstractConditionMapper
Parameters:
condition - the condition to map
info - mapping information
Returns:
mapping string

mapEventCondition

public String mapEventCondition(ICondition condition,
                                SunriseMappingToken info)
Description copied from class: AbstractConditionMapper
Maps an event condition.

Specified by:
mapEventCondition in class AbstractConditionMapper
Parameters:
condition - the condition to map
info - Mapping information
Returns:
mapping string


Copyright © 2019. All rights reserved.