org.commonreality.sensors.motor.interpolator
Class InterpolatorEvent

java.lang.Object
  extended by org.commonreality.sensors.motor.interpolator.InterpolatorEvent

public class InterpolatorEvent
extends java.lang.Object


Constructor Summary
InterpolatorEvent(MovementCommand command, double startTime, double endTime)
           
 
Method Summary
 void abort()
          flag this as needing to be aborted
 MovementCommand getCommand()
           
 double getEndTime()
           
 double getLastUpdateTime()
           
 double getStartTime()
           
 boolean hasAborted()
           
 boolean hasCompleted()
           
 boolean hasStarted()
           
 void update(double currentTime)
          returns a collection of delta trackers for all the efferents that have been updated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpolatorEvent

public InterpolatorEvent(MovementCommand command,
                         double startTime,
                         double endTime)
Method Detail

getStartTime

public double getStartTime()

getEndTime

public double getEndTime()

getCommand

public MovementCommand getCommand()

update

public final void update(double currentTime)
returns a collection of delta trackers for all the efferents that have been updated

Parameters:
currentTime -

getLastUpdateTime

public double getLastUpdateTime()

abort

public final void abort()
flag this as needing to be aborted


hasAborted

public boolean hasAborted()

hasStarted

public boolean hasStarted()

hasCompleted

public boolean hasCompleted()