Package edu.wpi.first.hal.simulation
Class RelayDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.RelayDataJNI
JNI for relay data.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.hal.JNIWrapper
JNIWrapper.Helper
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
cancelForwardCallback
(int index, int uid) static void
cancelInitializedForwardCallback
(int index, int uid) static void
cancelInitializedReverseCallback
(int index, int uid) static void
cancelReverseCallback
(int index, int uid) static boolean
getForward
(int index) static boolean
getInitializedForward
(int index) static boolean
getInitializedReverse
(int index) static boolean
getReverse
(int index) static int
registerForwardCallback
(int index, NotifyCallback callback, boolean initialNotify) static int
registerInitializedForwardCallback
(int index, NotifyCallback callback, boolean initialNotify) static int
registerInitializedReverseCallback
(int index, NotifyCallback callback, boolean initialNotify) static int
registerReverseCallback
(int index, NotifyCallback callback, boolean initialNotify) static void
resetData
(int index) static void
setForward
(int index, boolean forward) static void
setInitializedForward
(int index, boolean initializedForward) static void
setInitializedReverse
(int index, boolean initializedReverse) static void
setReverse
(int index, boolean reverse) Methods inherited from class edu.wpi.first.hal.JNIWrapper
forceLoad, suppressUnused
-
Method Details
-
registerInitializedForwardCallback
public static int registerInitializedForwardCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedForwardCallback
-
getInitializedForward
-
setInitializedForward
-
registerInitializedReverseCallback
public static int registerInitializedReverseCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedReverseCallback
-
getInitializedReverse
-
setInitializedReverse
-
registerForwardCallback
public static int registerForwardCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelForwardCallback
-
getForward
-
setForward
-
registerReverseCallback
public static int registerReverseCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelReverseCallback
-
getReverse
-
setReverse
-
resetData
-