public class EncoderSim
extends java.lang.Object
Constructor and Description |
---|
EncoderSim(int index) |
public CallbackStore registerInitializedCallback(NotifyCallback callback, boolean initialNotify)
public boolean getInitialized()
public void setInitialized(boolean initialized)
public CallbackStore registerCountCallback(NotifyCallback callback, boolean initialNotify)
public int getCount()
public void setCount(int count)
public CallbackStore registerPeriodCallback(NotifyCallback callback, boolean initialNotify)
public double getPeriod()
public void setPeriod(double period)
public CallbackStore registerResetCallback(NotifyCallback callback, boolean initialNotify)
public boolean getReset()
public void setReset(boolean reset)
public CallbackStore registerMaxPeriodCallback(NotifyCallback callback, boolean initialNotify)
public double getMaxPeriod()
public void setMaxPeriod(double maxPeriod)
public CallbackStore registerDirectionCallback(NotifyCallback callback, boolean initialNotify)
public boolean getDirection()
public void setDirection(boolean direction)
public CallbackStore registerReverseDirectionCallback(NotifyCallback callback, boolean initialNotify)
public boolean getReverseDirection()
public void setReverseDirection(boolean reverseDirection)
public CallbackStore registerSamplesToAverageCallback(NotifyCallback callback, boolean initialNotify)
public int getSamplesToAverage()
public void setSamplesToAverage(int samplesToAverage)
public void resetData()