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(); } }
public bool setUtcTime(XsUtcTime time) { bool ret = xsensdeviceapiPINVOKE.XsDevice_setUtcTime(swigCPtr, XsUtcTime.getCPtr(time)); if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending) { throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
public static XsUtcTime currentTime() { XsUtcTime ret = new XsUtcTime(xsensdeviceapiPINVOKE.XsUtcTime_currentTime(), true); return(ret); }
public XsUtcTime utcTime() { XsUtcTime ret = new XsUtcTime(xsensdeviceapiPINVOKE.XsDevice_utcTime(swigCPtr), true); return(ret); }