예제 #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)
 {
 }