Exemple #1
0
 public CommProtocols(CommProtocols other) : this(msclPINVOKE.new_CommProtocols__SWIG_1(CommProtocols.getCPtr(other)), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public CommProtocolsEnumerator(CommProtocols collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #3
0
 public void SetRange(int index, CommProtocols values)
 {
     msclPINVOKE.CommProtocols_SetRange(swigCPtr, index, CommProtocols.getCPtr(values));
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
        public virtual CommProtocols commProtocols()
        {
            CommProtocols ret = new CommProtocols(msclPINVOKE.NodeFeatures_commProtocols(swigCPtr), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #5
0
        public static CommProtocols Repeat(WirelessTypes.CommProtocol value, int count)
        {
            global::System.IntPtr cPtr = msclPINVOKE.CommProtocols_Repeat((int)value, count);
            CommProtocols         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new CommProtocols(cPtr, true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #6
0
        public CommProtocols GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = msclPINVOKE.CommProtocols_GetRange(swigCPtr, index, count);
            CommProtocols         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new CommProtocols(cPtr, true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CommProtocols obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }