org.jactr.core.production.action
Class SetAction.SetActionTimedEvent

java.lang.Object
  extended by org.jactr.core.queue.timedevents.AbstractTimedEvent
      extended by org.jactr.core.production.action.SetAction.SetActionTimedEvent
All Implemented Interfaces:
ITimedEvent, IBufferBasedTimedEvent
Enclosing class:
SetAction

public class SetAction.SetActionTimedEvent
extends AbstractTimedEvent
implements IBufferBasedTimedEvent


Constructor Summary
SetAction.SetActionTimedEvent(double now, double whenToFire, IActivationBuffer buffer, IChunk chunkToModify, java.util.Collection<? extends ISlot> slots)
           
 
Method Summary
 void fire(double now)
          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.
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class org.jactr.core.queue.timedevents.AbstractTimedEvent
abort, getEndTime, getStartTime, hasAborted, hasFired, setTimes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jactr.core.queue.ITimedEvent
abort, getEndTime, getStartTime, hasAborted, hasFired
 

Constructor Detail

SetAction.SetActionTimedEvent

public SetAction.SetActionTimedEvent(double now,
                                     double whenToFire,
                                     IActivationBuffer buffer,
                                     IChunk chunkToModify,
                                     java.util.Collection<? extends ISlot> slots)
Method Detail

toString

public java.lang.String toString()
Description copied from class: AbstractTimedEvent
Description of the Method

Overrides:
toString in class AbstractTimedEvent
Returns:
Description of the Return Value

fire

public void fire(double now)
Description copied from class: AbstractTimedEvent
called when this event should be fired..

Specified by:
fire in interface ITimedEvent
Overrides:
fire in class AbstractTimedEvent
Parameters:
now - Description of the Parameter

getBuffer

public IActivationBuffer getBuffer()
Description copied from interface: IBufferBasedTimedEvent
return the buffer that this timed event will be posting changes to.

Specified by:
getBuffer in interface IBufferBasedTimedEvent
Returns:
See Also:
IBufferBasedTimedEvent.getBuffer()

getBoundChunk

public IChunk getBoundChunk()
Description copied from interface: IBufferBasedTimedEvent
return the chunk that is (or will be) in the buffer that will be manipulated

Specified by:
getBoundChunk in interface IBufferBasedTimedEvent
Returns: