Modifier and Type | Interface and Description |
---|---|
interface |
IEfferentCommandTemplate<E extends IEfferentCommand> |
Modifier and Type | Interface and Description |
---|---|
interface |
ICompoundCommand |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IEfferentCommand> |
ICompoundCommand.getComponents() |
java.util.Collection<IEfferentCommand> |
IEfferentCommandManager.getEfferentCommands(IEfferentCommand.ActualState actualState) |
java.util.Collection<IEfferentCommand> |
IEfferentCommandManager.getEfferentCommands(IEfferentCommand.RequestedState requestedState) |
Modifier and Type | Method and Description |
---|---|
void |
ICompoundCommand.add(IEfferentCommand command) |
boolean |
IEfferentCommandTemplate.isConsistent(IEfferentCommand command)
returns true if this
IEfferentCommand is consistent with those created by
this template. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEfferentCommandTemplate<E extends IEfferentCommand> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEfferentCommand |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IEfferentCommand> |
EfferentCommandManager.getEfferentCommands(IEfferentCommand.ActualState actualState) |
java.util.Collection<IEfferentCommand> |
EfferentCommandManager.getEfferentCommands(IEfferentCommand.RequestedState requestedState) |
Modifier and Type | Method and Description |
---|---|
protected void |
EfferentCommandManager.addState(IEfferentCommand command) |
protected void |
EfferentCommandManager.index(IEfferentCommand command) |
protected void |
EfferentCommandManager.removeState(IEfferentCommand command) |
protected void |
EfferentCommandManager.unindex(IEfferentCommand command) |
Modifier and Type | Class and Description |
---|---|
class |
MovementCommand |
class |
RotateCommand |
class |
TranslateCommand |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IEfferentCommand> |
MovementCommand.getComponents() |
Modifier and Type | Method and Description |
---|---|
void |
MovementCommand.add(IEfferentCommand command) |
boolean |
TranslateCommandTemplate.isConsistent(IEfferentCommand command) |
boolean |
RotateCommandTemplate.isConsistent(IEfferentCommand command) |
boolean |
MovementCommandTemplate.isConsistent(IEfferentCommand command) |
Modifier and Type | Class and Description |
---|---|
class |
VocalizationCommand |
Modifier and Type | Method and Description |
---|---|
boolean |
VocalizationCommandTemplate.isConsistent(IEfferentCommand command) |
Modifier and Type | Method and Description |
---|---|
IEfferentCommand |
IEfferentObject.getCurrentCommand()
returns the currently active command.
|
Modifier and Type | Method and Description |
---|---|
IEfferentCommand |
EfferentObject.getCurrentCommand() |
Modifier and Type | Method and Description |
---|---|
IEfferentCommand |
RequestableEfferentCommandManager.request(IIdentifier sensorIdentifier)
Deprecated.
|
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
|
void |
EfferentCommandHandler.aborted(IEfferentCommand command,
java.lang.Object extraInfo)
called when a command is aborted on the sensor side (not at the request of
the agent).
|
void |
EfferentCommandHandler.completed(IEfferentCommand command,
java.lang.Object extraInfo)
called upon the completion of a command
|
ICommandTimingEquation |
ICommandHandlerDelegate.getTimingEquation(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler)
return the timing equation used
|
boolean |
ICommandHandlerDelegate.isInterestedIn(IEfferentCommand command)
return true if this delegate should process this type of command
|
void |
EfferentCommandHandler.processNewEfferentCommand(IEfferentCommand command)
process a new efferent command, checking
EfferentCommandHandler.shouldAccept(IEfferentCommand) and either
EfferentCommandHandler.accept(DeltaTracker) or #reject(DeltaTracker) |
void |
ICommandHandlerDelegate.rejected(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
protected boolean |
EfferentCommandHandler.shouldAbort(IEfferentCommand command)
check the command and be sure that it can be aborted.
|
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) |
protected java.lang.Object |
EfferentCommandHandler.shouldAccept(IEfferentCommand command)
return true if this command should be accepted (state changed from
submitted to accepted).
Default impl preforms some security and consistency checks. |
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) |
protected java.lang.Object |
EfferentCommandHandler.shouldStart(IEfferentCommand command)
check the command and be sure that it can be started.
|
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 |
EfferentCommandHandler.objectsAdded(IObjectEvent<IEfferentCommand,?> addEvent) |
void |
EfferentCommandHandler.objectsRemoved(IObjectEvent<IEfferentCommand,?> removeEvent) |
void |
EfferentCommandHandler.objectsUpdated(IObjectEvent<IEfferentCommand,?> updateEvent) |
Modifier and Type | Class and Description |
---|---|
class |
PressCommand |
class |
ReleaseCommand |
Modifier and Type | Method and Description |
---|---|
double |
SerialDurationEquation.computeTimings(IEfferentCommand command,
double startTime) |
boolean |
ReleaseCommandTemplate.isConsistent(IEfferentCommand command) |
boolean |
PressCommandTemplate.isConsistent(IEfferentCommand command) |
java.lang.Object |
KeyboardMotorHandler.shouldAccept(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler) |
Modifier and Type | Method and Description |
---|---|
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) |
boolean |
MotorCommandHandler.isInterestedIn(IEfferentCommand command) |
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 |
MotorCommandHandler.start(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
void |
MotorCommandHandler.started(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
Modifier and Type | Method and Description |
---|---|
void |
VocalizationCommandHandler.abort(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
void |
VocalizationCommandHandler.aborted(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
ICommandTimingEquation |
VocalizationCommandHandler.getTimingEquation(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler handler) |
boolean |
VocalizationCommandHandler.isInterestedIn(IEfferentCommand command) |
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 |
VocalizationCommandHandler.start(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
void |
VocalizationCommandHandler.started(IEfferentCommand command,
IAgentObject agent,
EfferentCommandHandler parent) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEfferentTimedEvent<E extends IEfferentCommand>
timed event meant to deal with efferent commands.
|
class |
EfferentCommandManager<C extends IEfferentCommand>
abstract class used to manage specific efferent commands.Extending this class
will give you access to callbacks for the state changes of the commands.
|
class |
IndividualCommandManager<C extends IEfferentCommand> |
Modifier and Type | Method and Description |
---|---|
protected boolean |
EfferentCommandManager.isInterestedIn(IEfferentCommand command) |
boolean |
IndividualCommandManager.update(IEfferentCommand command) |
Modifier and Type | Method and Description |
---|---|
protected IEfferentCommand |
MotorTimedEvent.getMotorCommand() |
Modifier and Type | Method and Description |
---|---|
IEfferentCommand |
ICommandTranslator.translate(ChunkTypeRequest request,
IEfferentObject muscle,
IModel model)
translate a
ChunkPattern into an appropriate
IEfferentCommand . |
IEfferentCommand |
DefaultCommandTranslator.translate(ChunkTypeRequest request,
IEfferentObject muscle,
IModel model) |
Modifier and Type | Method and Description |
---|---|
void |
ICommandTranslator.adjust(ChunkTypeRequest request,
DeltaTracker tracker,
IEfferentCommand command,
IModel model)
adjust a command midflight
|
void |
DefaultCommandTranslator.adjust(ChunkTypeRequest request,
DeltaTracker tracker,
IEfferentCommand command,
IModel model) |
Modifier and Type | Method and Description |
---|---|
IEfferentCommand |
PunchTranslator.translate(ChunkTypeRequest request,
IEfferentObject muscle,
IModel model) |
IEfferentCommand |
PeckTranslator.translate(ChunkTypeRequest request,
IEfferentObject muscle,
IModel model) |
IEfferentCommand |
PeckRecoilTranslator.translate(ChunkTypeRequest request,
IEfferentObject muscle,
IModel model) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTranslator.adjust(ChunkTypeRequest request,
DeltaTracker tracker,
IEfferentCommand command,
IModel model) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MotorCommandManager.isInterestedIn(IEfferentCommand command) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<VocalizationCommand> |
VocalManagementDelegate.execute(IEfferentCommand command) |