Class SimValue
java.lang.Object
org.wpilib.hardware.hal.SimValue
- Direct Known Subclasses:
SimBoolean, SimDouble, SimEnum, SimInt, SimLong
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intThe native handle for this SimValue. -
Constructor Summary
ConstructorsConstructorDescriptionSimValue(int handle) Wraps a simulated value handle as returned by SimDeviceJNI.createSimValue(). -
Method Summary
Modifier and TypeMethodDescriptionintGet the internal device handle.getValue()Gets the simulated value.voidSets the simulated value.
-
Field Details
-
m_handle
The native handle for this SimValue.
-
-
Constructor Details
-
SimValue
Wraps a simulated value handle as returned by SimDeviceJNI.createSimValue().- Parameters:
handle- simulated value handle
-
-
Method Details
-
getNativeHandle
-
getValue
-
setValue
-