Class SimEnum


  • public class SimEnum
    extends SimValue
    A wrapper around a simulator enum value handle.
    • Constructor Detail

      • SimEnum

        public SimEnum​(int handle)
        Wraps a simulated value handle as returned by SimDeviceJNI.createSimValueEnum().
        Parameters:
        handle - simulated value handle
    • Method Detail

      • get

        public int get()
        Gets the simulated value.
        Returns:
        The current value
      • set

        public void set​(int value)
        Sets the simulated value.
        Parameters:
        value - the value to set