//------------------------------------------------------------------------------ // // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.6 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //------------------------------------------------------------------------------ namespace mscl { public class EstimationControlOptions : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; internal EstimationControlOptions(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } internal static global::System.Runtime.InteropServices.HandleRef getCPtr(EstimationControlOptions obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~EstimationControlOptions() { Dispose(); } public virtual void Dispose() { lock(this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; msclPINVOKE.delete_EstimationControlOptions(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); } } public ushort AsUint16() { ushort ret = msclPINVOKE.EstimationControlOptions_AsUint16(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public EstimationControlOptions() : this(msclPINVOKE.new_EstimationControlOptions__SWIG_0(), true) { if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } public EstimationControlOptions(ushort estimationControlData) : this(msclPINVOKE.new_EstimationControlOptions__SWIG_1(estimationControlData), true) { if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } public bool enableGyroBiasEstimation { set { msclPINVOKE.EstimationControlOptions_enableGyroBiasEstimation_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.EstimationControlOptions_enableGyroBiasEstimation_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public bool enableAccelBiasEstimation { set { msclPINVOKE.EstimationControlOptions_enableAccelBiasEstimation_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.EstimationControlOptions_enableAccelBiasEstimation_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public bool enableGyroScaleFactorEstimation { set { msclPINVOKE.EstimationControlOptions_enableGyroScaleFactorEstimation_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.EstimationControlOptions_enableGyroScaleFactorEstimation_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public bool enableAccelScaleFactorEstimation { set { msclPINVOKE.EstimationControlOptions_enableAccelScaleFactorEstimation_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.EstimationControlOptions_enableAccelScaleFactorEstimation_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public bool enableGNSSAntennaOffsetEstimation { set { msclPINVOKE.EstimationControlOptions_enableGNSSAntennaOffsetEstimation_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.EstimationControlOptions_enableGNSSAntennaOffsetEstimation_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public bool enableHardIronAutoCalibration { set { msclPINVOKE.EstimationControlOptions_enableHardIronAutoCalibration_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.EstimationControlOptions_enableHardIronAutoCalibration_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public bool enableSoftIronAutoCalibration { set { msclPINVOKE.EstimationControlOptions_enableSoftIronAutoCalibration_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.EstimationControlOptions_enableSoftIronAutoCalibration_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } } }