Class SimBoolean


  • public class SimBoolean
    extends SimValue
    A wrapper around a simulator boolean value handle.
    • Constructor Detail

      • SimBoolean

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

      • get

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

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