示例#1
0
 public XsUsbHubInfo(XsUsbHubInfo other) : this(xsensdeviceapiPINVOKE.new_XsUsbHubInfo__SWIG_2(XsUsbHubInfo.getCPtr(other)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
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);
        }
示例#3
0
        public bool parentPathMatches(XsUsbHubInfo other)
        {
            bool ret = xsensdeviceapiPINVOKE.XsUsbHubInfo_parentPathMatches(swigCPtr, XsUsbHubInfo.getCPtr(other));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsUsbHubInfo obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }