org.jactr.modules.pm.motor.managers
Class ManagedMotorTimedEvent
java.lang.Object
org.jactr.core.queue.timedevents.AbstractTimedEvent
org.jactr.modules.pm.motor.buffer.event.MotorTimedEvent
org.jactr.modules.pm.motor.managers.ManagedMotorTimedEvent
- All Implemented Interfaces:
- ITimedEvent
public class ManagedMotorTimedEvent
- extends MotorTimedEvent
|
Method Summary |
void |
abort()
when abort is called, we still call fire internal.. |
void |
abort(boolean runFinalization)
used when we want to abort the timed event but not run the finalization,
i.e. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ManagedMotorTimedEvent
public ManagedMotorTimedEvent(IMovement movement,
IMotorModule module,
double driftOffset,
java.util.Collection<org.commonreality.efferent.IEfferentCommand.ActualState> driftStates,
double startTime,
double endTime,
AbstractManager manager)
abort
public void abort()
- when abort is called, we still call fire internal.. which will be smart
enough to know the difference..
- Specified by:
abort in interface ITimedEvent- Overrides:
abort in class AbstractTimedEvent
abort
public void abort(boolean runFinalization)
- used when we want to abort the timed event but not run the finalization,
i.e. when the movement completes early that we want to abort this timed event
and then post a new one that will expire sooner
- Parameters:
runFinalization -