예제 #1
0
 public void closePort(XsPortInfo portinfo)
 {
     xsensdeviceapiPINVOKE.XsControl_closePort__SWIG_2(swigCPtr, XsPortInfo.getCPtr(portinfo));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public void insert(XsPortInfo item, uint index)
 {
     xsensdeviceapiPINVOKE.XsPortInfoArrayImpl_insert__SWIG_0(swigCPtr, XsPortInfo.getCPtr(item), index);
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 public void push_front(XsPortInfo item)
 {
     xsensdeviceapiPINVOKE.XsPortInfoArrayImpl_push_front(swigCPtr, XsPortInfo.getCPtr(item));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
        public bool openPort(XsPortInfo portinfo)
        {
            bool ret = xsensdeviceapiPINVOKE.XsControl_openPort__SWIG_5(swigCPtr, XsPortInfo.getCPtr(portinfo));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public bool openPort(XsPortInfo portinfo, uint timeout, bool detectRs485)
        {
            bool ret = xsensdeviceapiPINVOKE.XsControl_openPort__SWIG_3(swigCPtr, XsPortInfo.getCPtr(portinfo), timeout, detectRs485);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
        public int find(XsPortInfo needle)
        {
            int ret = xsensdeviceapiPINVOKE.XsPortInfoArrayImpl_find(swigCPtr, XsPortInfo.getCPtr(needle));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #7
0
        public static bool scanPort(XsPortInfo port, XsBaudRate baudrate, int singleScanTimeout)
        {
            bool ret = xsensdeviceapiPINVOKE.XsScanner_scanPort__SWIG_1(XsPortInfo.getCPtr(port), (int)baudrate, singleScanTimeout);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #8
0
        public static bool scanPort(XsPortInfo port)
        {
            bool ret = xsensdeviceapiPINVOKE.XsScanner_scanPort__SWIG_3(XsPortInfo.getCPtr(port));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #9
0
        public bool openPortWithCredentials(XsPortInfo portinfo, XsString id, XsString key)
        {
            bool ret = xsensdeviceapiPINVOKE.XsControl_openPortWithCredentials__SWIG_1(swigCPtr, XsPortInfo.getCPtr(portinfo), XsString.getCPtr(id), XsString.getCPtr(key));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #10
0
 public XsPortInfoArrayImpl(XsPortInfo arg0, uint sz) : this(xsensdeviceapiPINVOKE.new_XsPortInfoArrayImpl__SWIG_5(XsPortInfo.getCPtr(arg0), sz), true)
 {
 }
예제 #11
0
 public XsPortInfoArrayImpl(XsPortInfo arg0, uint sz, XsDataFlags flags) : this(xsensdeviceapiPINVOKE.new_XsPortInfoArrayImpl__SWIG_4(XsPortInfo.getCPtr(arg0), sz, (int)flags), true)
 {
 }
예제 #12
0
 public XsPortInfoArrayImpl(uint count, XsPortInfo src) : this(xsensdeviceapiPINVOKE.new_XsPortInfoArrayImpl__SWIG_0(count, XsPortInfo.getCPtr(src)), true)
 {
 }
예제 #13
0
 public void assign(uint count, XsPortInfo src)
 {
     xsensdeviceapiPINVOKE.XsPortInfoArrayImpl_assign(swigCPtr, count, XsPortInfo.getCPtr(src));
 }
예제 #14
0
 public void insert(XsPortInfo items, uint index, uint count)
 {
     xsensdeviceapiPINVOKE.XsPortInfoArrayImpl_insert__SWIG_1(swigCPtr, XsPortInfo.getCPtr(items), index, count);
 }
예제 #15
0
        public static XsUsbHubInfo scanUsbHub(XsPortInfo port)
        {
            XsUsbHubInfo ret = new XsUsbHubInfo(xsensdeviceapiPINVOKE.XsScanner_scanUsbHub(XsPortInfo.getCPtr(port)), true);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #16
0
 public XsPortInfoArray(uint sz, XsPortInfo src) : this(xsensdeviceapiPINVOKE.new_XsPortInfoArray__SWIG_0(sz, XsPortInfo.getCPtr(src)), true)
 {
 }