org.jactr.core.event
Interface IACTREvent<S,L>

All Known Subinterfaces:
IParameterEvent<S,L>
All Known Implementing Classes:
AbstractACTREvent, ActivationBufferEvent, ActivePerceptEvent, ACTRRuntimeEvent, BreakpointEvent, ChunkEvent, ChunkTypeEvent, DeclarativeModuleEvent, FeatureMapEvent, LogEvent, ModelEvent, MotorModuleEvent, ParameterEvent, ProceduralLearningEvent, ProceduralModuleEvent, ProductionEvent, RetrievalModuleEvent, TimedEventEvent, VisualModuleEvent, VocalModuleEvent

public interface IACTREvent<S,L>

root of all events

Author:
developer

Method Summary
 void fire(L listener)
          dispatch this event to a listener on the provided executor
 double getSimulationTime()
          the time this event occured based on the simulation clock
 S getSource()
          The source of the event
 long getSystemTime()
          the time this event occured based on the system clock
 

Method Detail

getSource

S getSource()
The source of the event

Returns:
the originating object

fire

void fire(L listener)
dispatch this event to a listener on the provided executor

Parameters:
listener -
executor, - if null will dispatch inline

getSystemTime

long getSystemTime()
the time this event occured based on the system clock

Returns:

getSimulationTime

double getSimulationTime()
the time this event occured based on the simulation clock

Returns: