public interface IEfferentCommandTemplate<E extends IEfferentCommand>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getName()
the name of the command
|
E |
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. |
java.lang.String getName()
java.lang.String getDescription()
E instantiate(IAgent agent, IEfferentObject object) throws java.lang.Exception
java.lang.Exception
boolean isConsistent(IEfferentCommand command)
IEfferentCommand
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 uponcommand
-