Modifier and Type | Method and Description |
---|---|
protected IAgentObject |
AbstractAgent.createAgent(IIdentifier identifier) |
Modifier and Type | Class and Description |
---|---|
class |
AgentObject |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSensor.agentAdded(IAgentObject agent)
callback when a new agent is added to te simulation (will only receive is
AbstractSensor.shouldInterface(IAgentObject) is true). |
protected void |
AbstractSensor.agentRemoved(IAgentObject agent)
callback when an interfaced agent is removed from the simulation This is
called on the IO thread, you should not make any blocking calls here
|
protected void |
AbstractSensor.agentUpdated(IAgentObject agent)
callback for when an actively interfaced agent is updated This is called
on the IO thread, you should not make any blocking calls here
|
protected boolean |
AbstractSensor.shouldInterface(IAgentObject agent)
should we provide afferent/efferent objects to this agent default returns
true
|
Modifier and Type | Method and Description |
---|---|
protected void |
BaseSensor.agentAdded(IAgentObject agent) |
protected void |
BaseSensor.agentRemoved(IAgentObject agent) |
ISensoryObject |
IObjectCreator.createObject(K objectKey,
java.lang.Object object,
ISensor sensor,
IAgentObject agent)
create the initial percept, which can later be refined by
IObjectProcessor s |
Modifier and Type | Method and Description |
---|---|
ISensoryObject |
AbstractObjectCreator.createObject(DefaultObjectKey objectKey,
java.lang.Object object,
ISensor sensor,
IAgentObject agent) |
Modifier and Type | Method and Description |
---|---|
void |
ICommandHandlerDelegate.abort(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent)
called to abort the command
|
void |
ICommandHandlerDelegate.aborted(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent)
called when the command abort is completed
|
ICommandTimingEquation |
ICommandHandlerDelegate.getTimingEquation(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler)
return the timing equation used
|
void |
ICommandHandlerDelegate.rejected(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
boolean |
ICommandHandlerDelegate.shouldAbort(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler)
return Boolean.TRUE if the command should abort (it will already be
running).
|
boolean |
AbstractCommandHandlerDelegate.shouldAbort(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler) |
java.lang.Object |
ICommandHandlerDelegate.shouldAccept(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler)
return Boolean.TRUE if the command should be accepted for the specified
agent.
|
java.lang.Object |
AbstractCommandHandlerDelegate.shouldAccept(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler) |
java.lang.Object |
ICommandHandlerDelegate.shouldStart(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler)
return Boolean.TRUE if the command should be started.
|
java.lang.Object |
AbstractCommandHandlerDelegate.shouldStart(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler) |
void |
ICommandHandlerDelegate.start(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent)
actually start the processing of the command.
|
void |
ICommandHandlerDelegate.started(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent)
called once the start is complete
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultActuator.abort(IAgentObject agent,
MovementCommand movement,
EfferentCommandHandler handler) |
void |
DefaultActuator.aborted(IAgentObject agent,
MovementCommand command,
java.lang.Object extraInfo) |
protected void |
DefaultKeyboardSensor.agentAdded(IAgentObject agent)
when we detect a new agent, queue up a request to add the muscles and
devices for the hand, keyboard and mouse
|
void |
DefaultActuator.completed(IAgentObject agent,
MovementCommand command,
java.lang.Object extraInfo) |
java.lang.Object |
KeyboardMotorHandler.shouldAccept(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler) |
void |
DefaultActuator.start(IAgentObject agent,
MovementCommand movement,
EfferentCommandHandler handler) |
void |
DefaultActuator.updated(IAgentObject agent,
MovementCommand command,
DeltaTracker<IMutableObject> motorTracker) |
Constructor and Description |
---|
MuscleUtilities(ISensor sensor,
IAgentObject agent) |
Modifier and Type | Method and Description |
---|---|
void |
IActuator.abort(IAgentObject agent,
MovementCommand movement,
EfferentCommandHandler handler) |
void |
MotorCommandHandler.abort(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
void |
MotorCommandHandler.aborted(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
ICommandTimingEquation |
MotorCommandHandler.getTimingEquation(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler) |
void |
MotorCommandHandler.rejected(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
java.lang.Object |
MotorCommandHandler.shouldAccept(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler)
only accept motor commands where the source matched the provided efferent
|
java.lang.Object |
MotorCommandHandler.shouldStart(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler) |
void |
IActuator.start(IAgentObject agent,
MovementCommand movement,
EfferentCommandHandler handler) |
void |
MotorCommandHandler.start(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
void |
MotorCommandHandler.started(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
Modifier and Type | Method and Description |
---|---|
void |
IInterpolator.abort(IAgentObject agent,
MovementCommand command) |
void |
BasicInterpolator.abort(IAgentObject agent,
MovementCommand command) |
void |
InterpolatorActuator.abort(IAgentObject agent,
MovementCommand movement,
EfferentCommandHandler handler) |
void |
IActuatorCompletion.aborted(IAgentObject agent,
MovementCommand command,
java.lang.Object extraInfo) |
void |
BasicActuatorCompletion.aborted(IAgentObject agent,
MovementCommand command,
java.lang.Object extraInfo) |
void |
IActuatorCompletion.completed(IAgentObject agent,
MovementCommand command,
java.lang.Object extraInfo) |
void |
BasicActuatorCompletion.completed(IAgentObject agent,
MovementCommand command,
java.lang.Object extraInfo) |
void |
IInterpolator.start(IAgentObject agent,
MovementCommand command) |
void |
BasicInterpolator.start(IAgentObject agent,
MovementCommand command) |
void |
InterpolatorActuator.start(IAgentObject agent,
MovementCommand movement,
EfferentCommandHandler handler) |
protected void |
BasicInterpolator.startInternal(IAgentObject agent,
MovementCommand command,
double startTimeShift) |
void |
IActuatorCompletion.updated(IAgentObject agent,
MovementCommand command,
DeltaTracker<IMutableObject> motorTracker) |
void |
BasicActuatorCompletion.updated(IAgentObject agent,
MovementCommand command,
DeltaTracker<IMutableObject> motorTracker) |
Modifier and Type | Method and Description |
---|---|
void |
VocalizationCommandHandler.abort(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
void |
VocalizationCommandHandler.aborted(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
protected void |
DefaultSpeechSensor.agentAdded(IAgentObject agent)
when we get a new agent, immediately given them a mouth
|
ICommandTimingEquation |
VocalizationCommandHandler.getTimingEquation(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler) |
void |
VocalizationCommandHandler.rejected(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
java.lang.Object |
VocalizationCommandHandler.shouldAccept(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler)
only accept vocalization commands where the source matched the provided
efferent
|
java.lang.Object |
VocalizationCommandHandler.shouldStart(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler) |
void |
ISpeaker.speak(IAgentObject speaker,
VocalizationCommand vocalization)
called to actually invoke a speach event.
|
void |
DefaultSpeechSensor.speak(IAgentObject speaker,
VocalizationCommand vocalCommand)
actually speak by creating a new aural event, and posting it.
|
void |
CommandLineSpeaker.speak(IAgentObject speaker,
VocalizationCommand vocalization)
fire off a balistic speech.
|
void |
VocalizationCommandHandler.start(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
void |
VocalizationCommandHandler.started(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
Modifier and Type | Method and Description |
---|---|
protected IAgentObject |
ACTRAgent.createAgent(IIdentifier identifier) |