public XsTimeStamp(XsUtcTime utc) : this(xsensdeviceapiPINVOKE.new_XsTimeStamp__SWIG_4(XsUtcTime.getCPtr(utc)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void toUtcTime(XsUtcTime utc)
 {
     xsensdeviceapiPINVOKE.XsTimeStamp_toUtcTime(swigCPtr, XsUtcTime.getCPtr(utc));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setUtcTime(XsUtcTime data)
 {
     xsensdeviceapiPINVOKE.XsDataPacket_setUtcTime(swigCPtr, XsUtcTime.getCPtr(data));
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
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);
        }
Ejemplo n.º 5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsUtcTime obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 6
0
        public static XsUtcTime currentTime()
        {
            XsUtcTime ret = new XsUtcTime(xsensdeviceapiPINVOKE.XsUtcTime_currentTime(), true);

            return(ret);
        }
Ejemplo n.º 7
0
        public XsUtcTime utcTime()
        {
            XsUtcTime ret = new XsUtcTime(xsensdeviceapiPINVOKE.XsDevice_utcTime(swigCPtr), true);

            return(ret);
        }