|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.queue.timedevents.AbstractTimedEvent
org.jactr.modules.pm.common.efferent.AbstractEfferentTimedEvent<E>
public abstract class AbstractEfferentTimedEvent<E extends org.commonreality.efferent.IEfferentCommand>
timed event meant to deal with efferent commands. since efferent commands might not enjoy the strict timings that act-r expects, these timed events have the ability to drift forward in time until the efferent command's state is appropriate.
| Constructor Summary | |
|---|---|
AbstractEfferentTimedEvent(double start,
double end,
java.util.concurrent.Future<E> commandFuture,
IActivationBuffer buffer)
|
|
| Method Summary | |
|---|---|
void |
abort()
called when the event is to be aborted |
void |
fire(double currentTime)
called when this event should be fired.. |
IChunk |
getBoundChunk()
return the chunk that is (or will be) in the buffer that will be manipulated |
IActivationBuffer |
getBuffer()
return the buffer that this timed event will be posting changes to. |
void |
setDriftStates(org.commonreality.efferent.IEfferentCommand.ActualState... states)
|
| Methods inherited from class org.jactr.core.queue.timedevents.AbstractTimedEvent |
|---|
getEndTime, getStartTime, hasAborted, hasFired, setTimes, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jactr.core.queue.ITimedEvent |
|---|
getEndTime, getStartTime, hasAborted, hasFired |
| Constructor Detail |
|---|
public AbstractEfferentTimedEvent(double start,
double end,
java.util.concurrent.Future<E> commandFuture,
IActivationBuffer buffer)
| Method Detail |
|---|
public IActivationBuffer getBuffer()
IBufferBasedTimedEvent
getBuffer in interface IBufferBasedTimedEventpublic IChunk getBoundChunk()
IBufferBasedTimedEvent
getBoundChunk in interface IBufferBasedTimedEventpublic void setDriftStates(org.commonreality.efferent.IEfferentCommand.ActualState... states)
public final void abort()
AbstractTimedEvent
abort in interface ITimedEventabort in class AbstractTimedEventpublic final void fire(double currentTime)
AbstractTimedEvent
fire in interface ITimedEventfire in class AbstractTimedEventcurrentTime - Description of the Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||