org.jactr.modules.pm.motor.command.translators
Class AbstractManualTranslator

java.lang.Object
  extended by org.jactr.modules.pm.motor.command.translators.AbstractTranslator
      extended by org.jactr.modules.pm.motor.command.translators.AbstractManualTranslator
All Implemented Interfaces:
ICommandTranslator, ICommandTranslatorDelegate
Direct Known Subclasses:
PeckTranslator, PunchTranslator

public abstract class AbstractManualTranslator
extends AbstractTranslator


Field Summary
static java.lang.String MINIMUM_FITTS_TIME
           
static java.lang.String MINIMUM_MOVEMENT_TIME
           
static java.lang.String PECK_FITTS_COEFFICIENT
           
 
Constructor Summary
AbstractManualTranslator()
           
 
Method Summary
 org.commonreality.object.IEfferentObject getMuscle(ChunkTypeRequest request, IModel model)
          translates a set of slot values into a IEfferentObject that represents a muscle defined within the pattern.
 
Methods inherited from class org.jactr.modules.pm.motor.command.translators.AbstractTranslator
getMuscle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jactr.modules.pm.motor.command.ICommandTranslatorDelegate
handles
 
Methods inherited from interface org.jactr.modules.pm.motor.command.ICommandTranslator
translate
 

Field Detail

PECK_FITTS_COEFFICIENT

public static final java.lang.String PECK_FITTS_COEFFICIENT
See Also:
Constant Field Values

MINIMUM_FITTS_TIME

public static final java.lang.String MINIMUM_FITTS_TIME
See Also:
Constant Field Values

MINIMUM_MOVEMENT_TIME

public static final java.lang.String MINIMUM_MOVEMENT_TIME
See Also:
Constant Field Values
Constructor Detail

AbstractManualTranslator

public AbstractManualTranslator()
Method Detail

getMuscle

public org.commonreality.object.IEfferentObject getMuscle(ChunkTypeRequest request,
                                                          IModel model)
                                                   throws java.lang.IllegalArgumentException
translates a set of slot values into a IEfferentObject that represents a muscle defined within the pattern. Since many ACT-R movement commands use multiple slots to define a muscle, this collapses them. (i.e. translates hand right finger index into right-index). In addition to the returned IEfferentObject this method should also ensure that the slots used to define the muscle are nulled out and the muscle slot is specified.

Parameters:
request -
model -
Returns:
Throws:
java.lang.IllegalArgumentException