org.jactr.modules.pm.motor.event
Class MotorModuleEvent

java.lang.Object
  extended by org.jactr.core.event.AbstractACTREvent<IMotorModule,IMotorModuleListener>
      extended by org.jactr.modules.pm.motor.event.MotorModuleEvent
All Implemented Interfaces:
IACTREvent<IMotorModule,IMotorModuleListener>

public class MotorModuleEvent
extends AbstractACTREvent<IMotorModule,IMotorModuleListener>


Nested Class Summary
static class MotorModuleEvent.Type
           
 
Constructor Summary
MotorModuleEvent(IMotorModule source, IMovement movement, MotorModuleEvent.Type type)
           
 
Method Summary
 void fire(IMotorModuleListener listener)
          dispatch this event to a listener on the provided executor
 IMovement getMovement()
           
 MotorModuleEvent.Type getType()
           
 
Methods inherited from class org.jactr.core.event.AbstractACTREvent
getSimulationTime, getSource, getSystemTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MotorModuleEvent

public MotorModuleEvent(IMotorModule source,
                        IMovement movement,
                        MotorModuleEvent.Type type)
Method Detail

getType

public MotorModuleEvent.Type getType()

getMovement

public IMovement getMovement()

fire

public void fire(IMotorModuleListener listener)
Description copied from interface: IACTREvent
dispatch this event to a listener on the provided executor

Specified by:
fire in interface IACTREvent<IMotorModule,IMotorModuleListener>
Specified by:
fire in class AbstractACTREvent<IMotorModule,IMotorModuleListener>