//------------------------------------------------------------------------------ // // // 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 BaseStationFeatures : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; internal BaseStationFeatures(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(BaseStationFeatures obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~BaseStationFeatures() { Dispose(); } public virtual void Dispose() { lock(this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; msclPINVOKE.delete_BaseStationFeatures(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); } } public virtual bool supportsTransmitPower(WirelessTypes.TransmitPower power, WirelessTypes.CommProtocol commProtocol) { bool ret = msclPINVOKE.BaseStationFeatures_supportsTransmitPower(swigCPtr, (int)power, (int)commProtocol); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual bool supportsCommunicationProtocol(WirelessTypes.CommProtocol protocol) { bool ret = msclPINVOKE.BaseStationFeatures_supportsCommunicationProtocol(swigCPtr, (int)protocol); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual bool supportsButtons() { bool ret = msclPINVOKE.BaseStationFeatures_supportsButtons(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual bool supportsAnalogPairing() { bool ret = msclPINVOKE.BaseStationFeatures_supportsAnalogPairing(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual bool supportsBeaconStatus() { bool ret = msclPINVOKE.BaseStationFeatures_supportsBeaconStatus(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual bool supportsRfSweepMode() { bool ret = msclPINVOKE.BaseStationFeatures_supportsRfSweepMode(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual bool supportsCustomRfSweepMode() { bool ret = msclPINVOKE.BaseStationFeatures_supportsCustomRfSweepMode(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual byte buttonCount() { byte ret = msclPINVOKE.BaseStationFeatures_buttonCount(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual byte analogPortCount() { byte ret = msclPINVOKE.BaseStationFeatures_analogPortCount(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual TransmitPowers transmitPowers(WirelessTypes.CommProtocol commProtocol) { TransmitPowers ret = new TransmitPowers(msclPINVOKE.BaseStationFeatures_transmitPowers(swigCPtr, (int)commProtocol), true); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual CommProtocols commProtocols() { CommProtocols ret = new CommProtocols(msclPINVOKE.BaseStationFeatures_commProtocols(swigCPtr), true); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual WirelessTypes.TransmitPower maxTransmitPower(WirelessTypes.RegionCode region, WirelessTypes.CommProtocol commProtocol) { WirelessTypes.TransmitPower ret = (WirelessTypes.TransmitPower)msclPINVOKE.BaseStationFeatures_maxTransmitPower(swigCPtr, (int)region, (int)commProtocol); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } public virtual WirelessTypes.TransmitPower minTransmitPower(WirelessTypes.RegionCode region, WirelessTypes.CommProtocol commProtocol) { WirelessTypes.TransmitPower ret = (WirelessTypes.TransmitPower)msclPINVOKE.BaseStationFeatures_minTransmitPower(swigCPtr, (int)region, (int)commProtocol); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } }