Package edu.wpi.first.hal.simulation
Class RelayDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.RelayDataJNI
public class RelayDataJNI extends JNIWrapper
JNI for relay data.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description static 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)
-
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
-