Beispiel #1
0
 public XsPressure(XsPressure other) : this(xsensdeviceapiPINVOKE.new_XsPressure__SWIG_3(XsPressure.getCPtr(other)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setPressure(XsPressure data)
 {
     xsensdeviceapiPINVOKE.XsDataPacket_setPressure(swigCPtr, XsPressure.getCPtr(data));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsPressure obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
        public XsPressure pressure()
        {
            XsPressure ret = new XsPressure(xsensdeviceapiPINVOKE.XsDataPacket_pressure(swigCPtr), true);

            return(ret);
        }