|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.commonreality.efferent.impl.AbstractEfferentCommandTemplate<M>
org.commonreality.modalities.motor.MovementCommandTemplate<M>
public class MovementCommandTemplate<M extends MovementCommand>
| Constructor Summary | |
|---|---|
MovementCommandTemplate(java.lang.String name,
java.lang.String desc)
|
|
| Method Summary | |
|---|---|
M |
instantiate(IAgent agent,
IEfferentObject object)
instantiate this template using the supplied object |
boolean |
isConsistent(IEfferentCommand command)
returns true if this IEfferentCommand is consistent with those created by
this template. |
| Methods inherited from class org.commonreality.efferent.impl.AbstractEfferentCommandTemplate |
|---|
getDescription, getName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MovementCommandTemplate(java.lang.String name,
java.lang.String desc)
| Method Detail |
|---|
public M instantiate(IAgent agent,
IEfferentObject object)
throws java.lang.Exception
IEfferentCommandTemplate
instantiate in interface IEfferentCommandTemplate<M extends MovementCommand>instantiate in class AbstractEfferentCommandTemplate<M extends MovementCommand>java.lang.Exceptionpublic boolean isConsistent(IEfferentCommand command)
IEfferentCommandTemplateIEfferentCommand is consistent with those created by
this template. This is used on the sensor side to make sure that the IEfferentCommand
supplied is acting upon an IEfferentObject that can be acted upon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||