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