Package edu.wpi.first.hal.sim
Class RelaySim
- java.lang.Object
-
- edu.wpi.first.hal.sim.RelaySim
-
public class RelaySim extends Object
-
-
Constructor Summary
Constructors Constructor Description RelaySim(int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetForward()booleangetInitializedForward()booleangetInitializedReverse()booleangetReverse()CallbackStoreregisterForwardCallback(NotifyCallback callback, boolean initialNotify)CallbackStoreregisterInitializedForwardCallback(NotifyCallback callback, boolean initialNotify)CallbackStoreregisterInitializedReverseCallback(NotifyCallback callback, boolean initialNotify)CallbackStoreregisterReverseCallback(NotifyCallback callback, boolean initialNotify)voidresetData()voidsetForward(boolean forward)voidsetInitializedForward(boolean initializedForward)voidsetInitializedReverse(boolean initializedReverse)voidsetReverse(boolean reverse)
-
-
-
Method Detail
-
registerInitializedForwardCallback
public CallbackStore registerInitializedForwardCallback(NotifyCallback callback, boolean initialNotify)
-
getInitializedForward
public boolean getInitializedForward()
-
setInitializedForward
public void setInitializedForward(boolean initializedForward)
-
registerInitializedReverseCallback
public CallbackStore registerInitializedReverseCallback(NotifyCallback callback, boolean initialNotify)
-
getInitializedReverse
public boolean getInitializedReverse()
-
setInitializedReverse
public void setInitializedReverse(boolean initializedReverse)
-
registerForwardCallback
public CallbackStore registerForwardCallback(NotifyCallback callback, boolean initialNotify)
-
getForward
public boolean getForward()
-
setForward
public void setForward(boolean forward)
-
registerReverseCallback
public CallbackStore registerReverseCallback(NotifyCallback callback, boolean initialNotify)
-
getReverse
public boolean getReverse()
-
setReverse
public void setReverse(boolean reverse)
-
resetData
public void resetData()
-
-