示例#1
0
 public SensorOutputModes(SensorOutputModes other) : this(msclPINVOKE.new_SensorOutputModes__SWIG_1(SensorOutputModes.getCPtr(other)), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public SensorOutputModesEnumerator(SensorOutputModes collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void SetRange(int index, SensorOutputModes values)
 {
     msclPINVOKE.SensorOutputModes_SetRange(swigCPtr, index, SensorOutputModes.getCPtr(values));
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
        public virtual SensorOutputModes sensorOutputModes()
        {
            SensorOutputModes ret = new SensorOutputModes(msclPINVOKE.NodeFeatures_sensorOutputModes(swigCPtr), true);

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

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

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