Class SimValue

    • Field Detail

      • m_handle

        protected final int m_handle
    • Constructor Detail

      • SimValue

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

      • getNativeHandle

        public int getNativeHandle()
        Get the internal device handle.
        Returns:
        internal handle
      • getValue

        public HALValue getValue()
        Gets the simulated value.
        Returns:
        The current value
      • setValue

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