コード例 #1
0
 public void toUtcTime(XsUtcTime utc)
 {
     xsensdeviceapiPINVOKE.XsTimeStamp_toUtcTime(swigCPtr, XsUtcTime.getCPtr(utc));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public void setUtcTime(XsUtcTime data)
 {
     xsensdeviceapiPINVOKE.XsDataPacket_setUtcTime(swigCPtr, XsUtcTime.getCPtr(data));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
        public bool setUtcTime(XsUtcTime time)
        {
            bool ret = xsensdeviceapiPINVOKE.XsDevice_setUtcTime(swigCPtr, XsUtcTime.getCPtr(time));

            if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
            {
                throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
 public XsTimeStamp(XsUtcTime utc) : this(xsensdeviceapiPINVOKE.new_XsTimeStamp__SWIG_4(XsUtcTime.getCPtr(utc)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }