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

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.CommandMapper
              extended by com.kuka.roboticsAPI.controllerModel.sunrise.mapping.InstructionMapper

public class InstructionMapper
extends CommandMapper

Entry mapper for all instructions.

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.

Constructor Summary
InstructionMapper()
           
 
Method Summary
 Collection<Class<?>> getMappingTypes()
          Gets the mapping types which this mapper can map.
protected  void map(SunriseMappingToken info)
          Expects the object to map in the info parameter to be an instruction.
 
Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.mapping.CommandMapper
checkControlModeValid, mapMotionOverlay, mapStopConditions, mapTrigger, registerForRobotObserverReturnValues, startDeviceMapping
 
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

InstructionMapper

public InstructionMapper()
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.

map

protected void map(SunriseMappingToken info)
Expects the object to map in the info parameter to be an instruction. Sets object to map to the action and current device to the device contained in the mapped instruction and calls the corresponding action mapper.

Specified by:
map in class AbstractMapper<SunriseMappingToken>
Parameters:
info - mapping information for this instruction mapping.
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.


Copyright © 2019. All rights reserved.