Package edu.wpi.first.hal
Class SimBoolean
- java.lang.Object
-
- edu.wpi.first.hal.SimValue
-
- edu.wpi.first.hal.SimBoolean
-
public class SimBoolean extends SimValue
A wrapper around a simulator boolean value handle.
-
-
Constructor Summary
Constructors Constructor Description SimBoolean(int handle)
Wraps a simulated value handle as returned by SimDeviceJNI.createSimValueBoolean().
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
get()
Gets the simulated value.void
set(boolean value)
Sets the simulated value.-
Methods inherited from class edu.wpi.first.hal.SimValue
getNativeHandle, getValue, setValue
-
-
-
-
Constructor Detail
-
SimBoolean
public SimBoolean(int handle)
Wraps a simulated value handle as returned by SimDeviceJNI.createSimValueBoolean().- Parameters:
handle
- simulated value handle
-
-