public interface ISpeaker
Modifier and Type | Method and Description |
---|---|
void |
configure(DefaultSpeechSensor sensor,
java.util.Map<java.lang.String,java.lang.String> options)
allow the speaker to be configured.
|
void |
speak(IAgentObject speaker,
VocalizationCommand vocalization)
called to actually invoke a speach event.
|
void speak(IAgentObject speaker, VocalizationCommand vocalization)
VocalizationCommandHandler.start(org.commonreality.efferent.IEfferentCommand, IAgentObject, org.commonreality.sensors.handlers.EfferentCommandHandler)
and as such, has the same restrictions as
ICommandHandlerDelegate.start(org.commonreality.efferent.IEfferentCommand, IAgentObject, org.commonreality.sensors.handlers.EfferentCommandHandler)
that
EfferentCommandHandler.completed(org.commonreality.efferent.IEfferentCommand, Object)
should not be called from within.speaker
- vocalization
- void configure(DefaultSpeechSensor sensor, java.util.Map<java.lang.String,java.lang.String> options)
sensor
- options
- configuration map provided to speech sensor