Class JNIWrapper
java.lang.Object
org.wpilib.hardware.hal.JNIWrapper
- Direct Known Subclasses:
AddressableLEDDataJNI, AddressableLEDJNI, AlertDataJNI, AlertJNI, AnalogInDataJNI, AnalogJNI, CANAPIJNI, CANJNI, ConstantsJNI, CounterJNI, CTREPCMDataJNI, CTREPCMJNI, DigitalPWMDataJNI, DIODataJNI, DIOJNI, DriverStationDataJNI, DriverStationJNI, DutyCycleDataJNI, DutyCycleJNI, EncoderDataJNI, EncoderJNI, HAL, HALUtil, I2CDataJNI, I2CJNI, IMUJNI, NotifierDataJNI, NotifierJNI, PortsJNI, PowerDistributionDataJNI, PowerDistributionJNI, PowerJNI, PWMDataJNI, REVPHDataJNI, REVPHJNI, RoboRioDataJNI, SerialPortJNI, SimDeviceDataJNI, SimDeviceJNI, SimulatorJNI, SystemServerJNI, ThreadsJNI, UsageReportingJNI
Base class for all JNI wrappers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSets whether JNI should be loaded in the static block. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidForce load the library.static voidsuppressUnused(Object object) Dummy function to suppress unused variable warnings.
-
Constructor Details
-
JNIWrapper
public JNIWrapper()Utility class.
-
-
Method Details
-
forceLoad
Force load the library.- Throws:
IOException- if the library load failed
-
suppressUnused
Dummy function to suppress unused variable warnings.- Parameters:
object- variable to suppress
-