Beispiel #1
0
        public XsMtDeviceConfiguration deviceInfo(XsDeviceId deviceId)
        {
            XsMtDeviceConfiguration ret = new XsMtDeviceConfiguration(xsensdeviceapiPINVOKE.XsDeviceConfiguration_deviceInfo__SWIG_0(swigCPtr, XsDeviceId.getCPtr(deviceId)), false);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #2
0
        public XsMtDeviceConfiguration deviceInfo(uint busId)
        {
            XsMtDeviceConfiguration ret = new XsMtDeviceConfiguration(xsensdeviceapiPINVOKE.XsDeviceConfiguration_deviceInfo__SWIG_1(swigCPtr, busId), false);

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