|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICommandTranslator
interface that handles the transformation of ChunkPatterns into
IEfferentCommands
| Method Summary | |
|---|---|
void |
adjust(ChunkTypeRequest request,
org.commonreality.object.delta.DeltaTracker tracker,
org.commonreality.efferent.IEfferentCommand command,
IModel model)
adjust a command midflight |
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. |
org.commonreality.object.IEfferentObject |
getMuscle(java.lang.String muscleName,
IModel model)
translate a string name into an IEfferentObject that represents the
muscle. |
org.commonreality.efferent.IEfferentCommand |
translate(ChunkTypeRequest request,
org.commonreality.object.IEfferentObject muscle,
IModel model)
translate a ChunkPattern into an appropriate
IEfferentCommand. |
| Method Detail |
|---|
org.commonreality.object.IEfferentObject getMuscle(java.lang.String muscleName,
IModel model)
throws java.lang.IllegalArgumentException
IEfferentObject that represents the
muscle. This is called during a buffer query that has been scoped on a
specific muscle group
muscleName - model -
java.lang.IllegalArgumentException - if no muscle is found
org.commonreality.object.IEfferentObject getMuscle(ChunkTypeRequest request,
IModel model)
throws java.lang.IllegalArgumentException
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.
request - model -
java.lang.IllegalArgumentException
org.commonreality.efferent.IEfferentCommand translate(ChunkTypeRequest request,
org.commonreality.object.IEfferentObject muscle,
IModel model)
throws java.lang.IllegalArgumentException
ChunkPattern into an appropriate
IEfferentCommand. By setting the
MovementCommand.MOVEMENT_RATE, the translator may provide a hint to
common reality regarding the actual execution time of the movement.
request - muscle - model -
java.lang.IllegalArgumentException
void adjust(ChunkTypeRequest request,
org.commonreality.object.delta.DeltaTracker tracker,
org.commonreality.efferent.IEfferentCommand command,
IModel model)
throws java.lang.IllegalArgumentException,
javax.naming.OperationNotSupportedException
java.lang.IllegalArgumentException
javax.naming.OperationNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||