예제 #1
0
 public void closePort(XsDeviceId deviceId)
 {
     xsensdeviceapiPINVOKE.XsControl_closePort__SWIG_1(swigCPtr, XsDeviceId.getCPtr(deviceId));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public void setDeviceId(XsDeviceId deviceId_)
 {
     xsensdeviceapiPINVOKE.XsPortInfo_setDeviceId(swigCPtr, XsDeviceId.getCPtr(deviceId_));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 public void insert(XsDeviceId item, uint index)
 {
     xsensdeviceapiPINVOKE.XsDeviceIdArrayImpl_insert__SWIG_0(swigCPtr, XsDeviceId.getCPtr(item), index);
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 public void push_front(XsDeviceId item)
 {
     xsensdeviceapiPINVOKE.XsDeviceIdArrayImpl_push_front(swigCPtr, XsDeviceId.getCPtr(item));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setStoredDeviceId(XsDeviceId data)
 {
     xsensdeviceapiPINVOKE.XsDataPacket_setStoredDeviceId(swigCPtr, XsDeviceId.getCPtr(data));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #6
0
        public int find(XsDeviceId needle)
        {
            int ret = xsensdeviceapiPINVOKE.XsDeviceIdArrayImpl_find(swigCPtr, XsDeviceId.getCPtr(needle));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #7
0
        public static bool supportsSyncSettings(XsDeviceId deviceId)
        {
            bool ret = xsensdeviceapiPINVOKE.XsDevice_supportsSyncSettings(XsDeviceId.getCPtr(deviceId));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #8
0
        public bool contains(XsDeviceId other)
        {
            bool ret = xsensdeviceapiPINVOKE.XsDeviceId_contains(swigCPtr, XsDeviceId.getCPtr(other));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #9
0
        public static bool isCompatibleSyncSetting(XsDeviceId deviceId, XsSyncSetting setting1, XsSyncSetting setting2)
        {
            bool ret = xsensdeviceapiPINVOKE.XsDevice_isCompatibleSyncSetting(XsDeviceId.getCPtr(deviceId), XsSyncSetting.getCPtr(setting1), XsSyncSetting.getCPtr(setting2));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #10
0
        public bool setDeviceRejected(XsDeviceId deviceId)
        {
            bool ret = xsensdeviceapiPINVOKE.XsDevice_setDeviceRejected(swigCPtr, XsDeviceId.getCPtr(deviceId));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #11
0
        public bool isDeviceDocked(XsDeviceId deviceId)
        {
            bool ret = xsensdeviceapiPINVOKE.XsControl_isDeviceDocked(swigCPtr, XsDeviceId.getCPtr(deviceId));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public XsDeviceIdArray(XsDeviceId arg0, uint sz) : this(xsensdeviceapiPINVOKE.new_XsDeviceIdArray__SWIG_5(XsDeviceId.getCPtr(arg0), sz), true)
 {
 }
예제 #13
0
        public bool containsDevice(XsDeviceId deviceId)
        {
            bool ret = xsensdeviceapiPINVOKE.XsDeviceConfiguration_containsDevice(swigCPtr, XsDeviceId.getCPtr(deviceId));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #14
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);
        }
예제 #15
0
 public void insert(XsDeviceId items, uint index, uint count)
 {
     xsensdeviceapiPINVOKE.XsDeviceIdArrayImpl_insert__SWIG_1(swigCPtr, XsDeviceId.getCPtr(items), index, count);
 }
예제 #16
0
 public void assign(uint count, XsDeviceId src)
 {
     xsensdeviceapiPINVOKE.XsDeviceIdArrayImpl_assign(swigCPtr, count, XsDeviceId.getCPtr(src));
 }
예제 #17
0
        public static XsSyncSettingArray supportedSyncSettings(XsDeviceId deviceId)
        {
            XsSyncSettingArray ret = new XsSyncSettingArray(xsensdeviceapiPINVOKE.XsDevice_supportedSyncSettings__SWIG_1(XsDeviceId.getCPtr(deviceId)), true);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public XsDeviceIdArray(XsDeviceId arg0, uint sz, XsDataFlags flags) : this(xsensdeviceapiPINVOKE.new_XsDeviceIdArray__SWIG_4(XsDeviceId.getCPtr(arg0), sz, (int)flags), true)
 {
 }
 public XsDeviceIdArray(uint sz, XsDeviceId src) : this(xsensdeviceapiPINVOKE.new_XsDeviceIdArray__SWIG_0(sz, XsDeviceId.getCPtr(src)), true)
 {
 }
예제 #20
0
 public XsDeviceIdArrayImpl(uint count, XsDeviceId src) : this(xsensdeviceapiPINVOKE.new_XsDeviceIdArrayImpl__SWIG_0(count, XsDeviceId.getCPtr(src)), true)
 {
 }
예제 #21
0
        public static uint syncSettingsTimeResolutionInMicroSeconds(XsDeviceId deviceId)
        {
            uint ret = xsensdeviceapiPINVOKE.XsDevice_syncSettingsTimeResolutionInMicroSeconds(XsDeviceId.getCPtr(deviceId));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #22
0
        public XsDeviceId dockDeviceId(XsDeviceId deviceId)
        {
            XsDeviceId ret = new XsDeviceId(xsensdeviceapiPINVOKE.XsControl_dockDeviceId(swigCPtr, XsDeviceId.getCPtr(deviceId)), true);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #23
0
        public SWIGTYPE_p_XsDevice findDeviceConst(XsDeviceId deviceid)
        {
            global::System.IntPtr cPtr = xsensdeviceapiPINVOKE.XsDevice_findDeviceConst(swigCPtr, XsDeviceId.getCPtr(deviceid));
            SWIGTYPE_p_XsDevice   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_XsDevice(cPtr, false);

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #24
0
 public XsDeviceId(XsDeviceId other) : this(xsensdeviceapiPINVOKE.new_XsDeviceId__SWIG_2(XsDeviceId.getCPtr(other)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }