//------------------------------------------------------------------------------ // // // 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 WirelessDataPoint : DataPoint { private global::System.Runtime.InteropServices.HandleRef swigCPtr; internal WirelessDataPoint(global::System.IntPtr cPtr, bool cMemoryOwn) : base(msclPINVOKE.WirelessDataPoint_SWIGUpcast(cPtr), cMemoryOwn) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } internal static global::System.Runtime.InteropServices.HandleRef getCPtr(WirelessDataPoint obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~WirelessDataPoint() { Dispose(); } public override void Dispose() { lock(this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; msclPINVOKE.delete_WirelessDataPoint(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); base.Dispose(); } } public WirelessDataPoint() : this(msclPINVOKE.new_WirelessDataPoint(), true) { if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } public WirelessChannel.ChannelId channelId() { WirelessChannel.ChannelId ret = (WirelessChannel.ChannelId)msclPINVOKE.WirelessDataPoint_channelId(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public byte channelNumber() { byte ret = msclPINVOKE.WirelessDataPoint_channelNumber(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public string channelName() { string ret = msclPINVOKE.WirelessDataPoint_channelName(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } }