CTRE Phoenix Pro C++ 23.0.12
PhoenixPro_Jni.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) Cross The Road Electronics.  All rights reserved.
3 * License information can be found in CTRE_LICENSE.txt
4 * For support and suggestions contact support@ctr-electronics.com or file
5 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
6 */
7/* DO NOT EDIT THIS FILE - it is machine generated */
8#include <jni.h>
9/* Header for class com_ctre_phoenixpro_controls_jni_ControlJNI */
10
11#ifndef _Included_com_ctre_phoenixpro_controls_jni_ControlJNI
12#define _Included_com_ctre_phoenixpro_controls_jni_ControlJNI
13#ifdef __cplusplus
14extern "C" {
15#endif
16/*
17 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
18 * Method: JNI_RequestConfigApply
19 * Signature: (Ljava/lang/String;IDLjava/lang/String;Z)I
20 */
22 (JNIEnv *, jclass, jstring, jint, jdouble, jstring, jboolean);
23
24/*
25 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
26 * Method: JNI_RequestControlDutyCycleOut
27 * Signature: (Ljava/lang/String;IDZDZZ)I
28 */
30 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jboolean);
31
32/*
33 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
34 * Method: JNI_RequestControlTorqueCurrentFOC
35 * Signature: (Ljava/lang/String;IDZDDDZ)I
36 */
38 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jdouble, jboolean);
39
40/*
41 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
42 * Method: JNI_RequestControlVoltageOut
43 * Signature: (Ljava/lang/String;IDZDZZ)I
44 */
46 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jboolean);
47
48/*
49 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
50 * Method: JNI_RequestControlPositionDutyCycle
51 * Signature: (Ljava/lang/String;IDZDZDIZ)I
52 */
54 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean);
55
56/*
57 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
58 * Method: JNI_RequestControlPositionVoltage
59 * Signature: (Ljava/lang/String;IDZDZDIZ)I
60 */
62 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean);
63
64/*
65 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
66 * Method: JNI_RequestControlPositionTorqueCurrentFOC
67 * Signature: (Ljava/lang/String;IDZDDIZ)I
68 */
70 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jint, jboolean);
71
72/*
73 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
74 * Method: JNI_RequestControlVelocityDutyCycle
75 * Signature: (Ljava/lang/String;IDZDZDIZ)I
76 */
78 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean);
79
80/*
81 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
82 * Method: JNI_RequestControlVelocityVoltage
83 * Signature: (Ljava/lang/String;IDZDZDIZ)I
84 */
86 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean);
87
88/*
89 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
90 * Method: JNI_RequestControlVelocityTorqueCurrentFOC
91 * Signature: (Ljava/lang/String;IDZDDIZ)I
92 */
94 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jint, jboolean);
95
96/*
97 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
98 * Method: JNI_RequestControlMotionMagicDutyCycle
99 * Signature: (Ljava/lang/String;IDZDZDIZ)I
100 */
102 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean);
103
104/*
105 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
106 * Method: JNI_RequestControlMotionMagicVoltage
107 * Signature: (Ljava/lang/String;IDZDZDIZ)I
108 */
110 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean);
111
112/*
113 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
114 * Method: JNI_RequestControlMotionMagicTorqueCurrentFOC
115 * Signature: (Ljava/lang/String;IDZDDIZ)I
116 */
118 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jint, jboolean);
119
120/*
121 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
122 * Method: JNI_RequestControlFollower
123 * Signature: (Ljava/lang/String;IDZIZ)I
124 */
126 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jint, jboolean);
127
128/*
129 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
130 * Method: JNI_RequestControlStrictFollower
131 * Signature: (Ljava/lang/String;IDZI)I
132 */
134 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jint);
135
136/*
137 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
138 * Method: JNI_RequestControlNeutralOut
139 * Signature: (Ljava/lang/String;IDZ)I
140 */
142 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean);
143
144/*
145 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
146 * Method: JNI_RequestControlCoastOut
147 * Signature: (Ljava/lang/String;IDZ)I
148 */
150 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean);
151
152/*
153 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
154 * Method: JNI_RequestControlStaticBrake
155 * Signature: (Ljava/lang/String;IDZ)I
156 */
158 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean);
159
160/*
161 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
162 * Method: JNI_RequestControlBalanceBattery
163 * Signature: (Ljava/lang/String;IDZ)I
164 */
166 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean);
167
168/*
169 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
170 * Method: JNI_RequestControlBMSManualIsolator
171 * Signature: (Ljava/lang/String;IDZZ)I
172 */
174 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jboolean);
175
176/*
177 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
178 * Method: JNI_RequestControlBMSManualVboost
179 * Signature: (Ljava/lang/String;IDZZDD)I
180 */
182 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jboolean, jdouble, jdouble);
183
184/*
185 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
186 * Method: JNI_RequestControlBMSManualPwmJunction
187 * Signature: (Ljava/lang/String;IDZID)I
188 */
190 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jint, jdouble);
191
192/*
193 * Class: com_ctre_phoenixpro_controls_jni_ControlJNI
194 * Method: JNI_RequestControlBMSClearFault
195 * Signature: (Ljava/lang/String;IDZ)I
196 */
198 (JNIEnv *, jclass, jstring, jint, jdouble, jboolean);
199
200#ifdef __cplusplus
201}
202#endif
203#endif
204
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionTorqueCurrentFOC(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlStaticBrake(JNIEnv *, jclass, jstring, jint, jdouble, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicDutyCycle(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionDutyCycle(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualPwmJunction(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jint, jdouble)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlFollower(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityDutyCycle(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlTorqueCurrentFOC(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jdouble, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBalanceBattery(JNIEnv *, jclass, jstring, jint, jdouble, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicVoltage(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlStrictFollower(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jint)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlNeutralOut(JNIEnv *, jclass, jstring, jint, jdouble, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSClearFault(JNIEnv *, jclass, jstring, jint, jdouble, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlDutyCycleOut(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlCoastOut(JNIEnv *, jclass, jstring, jint, jdouble, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlMotionMagicTorqueCurrentFOC(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlPositionVoltage(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVoltageOut(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityVoltage(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jboolean, jdouble, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualIsolator(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestConfigApply(JNIEnv *, jclass, jstring, jint, jdouble, jstring, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlVelocityTorqueCurrentFOC(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jdouble, jdouble, jint, jboolean)
JNIEXPORT jint JNICALL Java_com_ctre_phoenixpro_controls_jni_ControlJNI_JNI_1RequestControlBMSManualVboost(JNIEnv *, jclass, jstring, jint, jdouble, jboolean, jboolean, jdouble, jdouble)