public class VocalizationCommandTemplate extends AbstractEfferentCommandTemplate<VocalizationCommand>
Constructor and Description |
---|
VocalizationCommandTemplate(java.lang.String name,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(VocalizationCommand command,
IAgent agent,
IEfferentObject object) |
protected VocalizationCommand |
create(IIdentifier commandId,
IIdentifier muscleId) |
VocalizationCommand |
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. |
getDescription, getName
public VocalizationCommandTemplate(java.lang.String name, java.lang.String description)
public VocalizationCommand instantiate(IAgent agent, IEfferentObject object) throws java.lang.Exception
IEfferentCommandTemplate
instantiate
in interface IEfferentCommandTemplate<VocalizationCommand>
instantiate
in class AbstractEfferentCommandTemplate<VocalizationCommand>
java.lang.Exception
public boolean isConsistent(IEfferentCommand command)
IEfferentCommandTemplate
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 uponprotected void configure(VocalizationCommand command, IAgent agent, IEfferentObject object)
configure
in class AbstractEfferentCommandTemplate<VocalizationCommand>
protected VocalizationCommand create(IIdentifier commandId, IIdentifier muscleId)
create
in class AbstractEfferentCommandTemplate<VocalizationCommand>