Esempio n. 1
0
 public XsIntArray(XsIntArray other) : this(xsensdeviceapiPINVOKE.new_XsIntArray__SWIG_3(XsIntArray.getCPtr(other)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
        public static XsPortInfoArray scanComPortList(XsStringArray portList, XsIntArray portLinesOptionsList)
        {
            XsPortInfoArray ret = new XsPortInfoArray(xsensdeviceapiPINVOKE.XsScanner_scanComPortList__SWIG_2(XsStringArray.getCPtr(portList), XsIntArray.getCPtr(portLinesOptionsList)), true);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
        public static XsPortInfoArray scanComPortList(XsStringArray portList, XsIntArray portLinesOptionsList, XsBaudRate baudrate, int singleScanTimeout)
        {
            XsPortInfoArray ret = new XsPortInfoArray(xsensdeviceapiPINVOKE.XsScanner_scanComPortList__SWIG_0(XsStringArray.getCPtr(portList), XsIntArray.getCPtr(portLinesOptionsList), (int)baudrate, singleScanTimeout), true);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
        public XsIntArray supportedUpdateRates()
        {
            XsIntArray ret = new XsIntArray(xsensdeviceapiPINVOKE.XsDevice_supportedUpdateRates__SWIG_1(swigCPtr), true);

            return(ret);
        }
Esempio n. 5
0
        public XsIntArray supportedUpdateRates(XsDataIdentifier dataType)
        {
            XsIntArray ret = new XsIntArray(xsensdeviceapiPINVOKE.XsDevice_supportedUpdateRates__SWIG_0(swigCPtr, (int)dataType), true);

            return(ret);
        }
Esempio n. 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsIntArray obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }