示例#1
0
 public DeviceParamListEnumerator(DeviceParamList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#2
0
 public void SetRange(int index, DeviceParamList values)
 {
     GmsecPINVOKE.DeviceParamList_SetRange(swigCPtr, index, DeviceParamList.getCPtr(values));
     if (GmsecPINVOKE.SWIGPendingException.Pending)
     {
         throw GmsecPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
        public static DeviceParamList Repeat(DeviceParam value, int count)
        {
            global::System.IntPtr cPtr = GmsecPINVOKE.DeviceParamList_Repeat(DeviceParam.getCPtr(value), count);
            DeviceParamList       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DeviceParamList(cPtr, true);

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

            if (GmsecPINVOKE.SWIGPendingException.Pending)
            {
                throw GmsecPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
 /// <summary>Constructor that accepts list of %Device Parameters</summary>
 ///
 /// <param name="name">Device name</param>
 /// <param name="status">Device status</param>
 /// <param name="params">List of device parameters</param>
 ///
 /// <exception cref="GmsecException">Thrown if the name is null or contains an empty-string</exception>
 public Device(string name, Device.DeviceStatus status, DeviceParamList params)
 {
 }