Package edu.wpi.first.hal.simulation
Class AnalogTriggerDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.AnalogTriggerDataJNI
public class AnalogTriggerDataJNI extends JNIWrapper
JNI for analog trigger data.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description static void
cancelInitializedCallback(int index, int uid)
static void
cancelTriggerLowerBoundCallback(int index, int uid)
static void
cancelTriggerUpperBoundCallback(int index, int uid)
static int
findForChannel(int channel)
static boolean
getInitialized(int index)
static double
getTriggerLowerBound(int index)
static double
getTriggerUpperBound(int index)
static int
registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerTriggerLowerBoundCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerTriggerUpperBoundCallback(int index, NotifyCallback callback, boolean initialNotify)
static void
resetData(int index)
static void
setInitialized(int index, boolean initialized)
static void
setTriggerLowerBound(int index, double triggerLowerBound)
static void
setTriggerUpperBound(int index, double triggerUpperBound)
-
Method Details
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
registerTriggerLowerBoundCallback
public static int registerTriggerLowerBoundCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelTriggerLowerBoundCallback
-
getTriggerLowerBound
-
setTriggerLowerBound
-
registerTriggerUpperBoundCallback
public static int registerTriggerUpperBoundCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelTriggerUpperBoundCallback
-
getTriggerUpperBound
-
setTriggerUpperBound
-
resetData
-
findForChannel
-