Package edu.wpi.first.hal.simulation
Class DIODataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.DIODataJNI
public class DIODataJNI extends JNIWrapper
JNI for DIO data.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description static void
cancelFilterIndexCallback(int index, int uid)
static void
cancelInitializedCallback(int index, int uid)
static void
cancelIsInputCallback(int index, int uid)
static void
cancelPulseLengthCallback(int index, int uid)
static void
cancelValueCallback(int index, int uid)
static int
getFilterIndex(int index)
static boolean
getInitialized(int index)
static boolean
getIsInput(int index)
static double
getPulseLength(int index)
static boolean
getValue(int index)
static int
registerFilterIndexCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerIsInputCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerPulseLengthCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerValueCallback(int index, NotifyCallback callback, boolean initialNotify)
static void
resetData(int index)
static void
setFilterIndex(int index, int filterIndex)
static void
setInitialized(int index, boolean initialized)
static void
setIsInput(int index, boolean isInput)
static void
setPulseLength(int index, double pulseLength)
static void
setValue(int index, boolean value)
-
Method Details
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
registerValueCallback
-
cancelValueCallback
-
getValue
-
setValue
-
registerPulseLengthCallback
public static int registerPulseLengthCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelPulseLengthCallback
-
getPulseLength
-
setPulseLength
-
registerIsInputCallback
public static int registerIsInputCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelIsInputCallback
-
getIsInput
-
setIsInput
-
registerFilterIndexCallback
public static int registerFilterIndexCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelFilterIndexCallback
-
getFilterIndex
-
setFilterIndex
-
resetData
-