예제 #1
0
 public XsUShortVector(XsUShortVector other) : this(xsensdeviceapiPINVOKE.new_XsUShortVector__SWIG_3(XsUShortVector.getCPtr(other)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setRawMagneticField(XsUShortVector vec)
 {
     xsensdeviceapiPINVOKE.XsDataPacket_setRawMagneticField(swigCPtr, XsUShortVector.getCPtr(vec));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setRawGyroscopeTemperatureData(XsUShortVector vec)
 {
     xsensdeviceapiPINVOKE.XsDataPacket_setRawGyroscopeTemperatureData(swigCPtr, XsUShortVector.getCPtr(vec));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public XsUShortVector rawMagneticField()
        {
            XsUShortVector ret = new XsUShortVector(xsensdeviceapiPINVOKE.XsDataPacket_rawMagneticField(swigCPtr), true);

            return(ret);
        }
        public XsUShortVector rawGyroscopeTemperatureData()
        {
            XsUShortVector ret = new XsUShortVector(xsensdeviceapiPINVOKE.XsDataPacket_rawGyroscopeTemperatureData(swigCPtr), true);

            return(ret);
        }
        public XsUShortVector rawAcceleration()
        {
            XsUShortVector ret = new XsUShortVector(xsensdeviceapiPINVOKE.XsDataPacket_rawAcceleration(swigCPtr), true);

            return(ret);
        }
예제 #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsUShortVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }