Package edu.wpi.first.hal.simulation
Class DutyCycleDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.DutyCycleDataJNI
public class DutyCycleDataJNI extends JNIWrapper
JNI for duty cycle data.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description static void
cancelFrequencyCallback(int index, int uid)
static void
cancelInitializedCallback(int index, int uid)
static void
cancelOutputCallback(int index, int uid)
static int
findForChannel(int channel)
static int
getFrequency(int index)
static boolean
getInitialized(int index)
static double
getOutput(int index)
static int
registerFrequencyCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify)
static int
registerOutputCallback(int index, NotifyCallback callback, boolean initialNotify)
static void
resetData(int index)
static void
setFrequency(int index, int frequency)
static void
setInitialized(int index, boolean initialized)
static void
setOutput(int index, double output)
-
Method Details
-
registerInitializedCallback
public static int registerInitializedCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelInitializedCallback
-
getInitialized
-
setInitialized
-
registerFrequencyCallback
public static int registerFrequencyCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelFrequencyCallback
-
getFrequency
-
setFrequency
-
registerOutputCallback
public static int registerOutputCallback(int index, NotifyCallback callback, boolean initialNotify) -
cancelOutputCallback
-
getOutput
-
setOutput
-
resetData
-
findForChannel
-