Package edu.wpi.first.hal
Class SimBoolean
java.lang.Object
edu.wpi.first.hal.SimValue
edu.wpi.first.hal.SimBoolean
A wrapper around a simulator boolean value handle.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSimBoolean
(int handle) Wraps a simulated value handle as returned by SimDeviceJNI.createSimValueBoolean(). -
Method Summary
Methods inherited from class edu.wpi.first.hal.SimValue
getNativeHandle, getValue, setValue
-
Constructor Details
-
SimBoolean
Wraps a simulated value handle as returned by SimDeviceJNI.createSimValueBoolean().- Parameters:
handle
- simulated value handle
-
-
Method Details
-
get
Gets the simulated value.- Returns:
- The current value
-
set
Sets the simulated value.- Parameters:
value
- the value to set
-