Package edu.wpi.first.hal.simulation
Class DutyCycleDataJNI
java.lang.Object
edu.wpi.first.hal.JNIWrapper
edu.wpi.first.hal.simulation.DutyCycleDataJNI
JNI for duty cycle data.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.hal.JNIWrapper
JNIWrapper.Helper
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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) Methods inherited from class edu.wpi.first.hal.JNIWrapper
forceLoad, suppressUnused
-
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
-
cancelOutputCallback
-
getOutput
-
setOutput
-
resetData
-
findForChannel
-