public DeviceParamListEnumerator(DeviceParamList collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, DeviceParamList values) { GmsecPINVOKE.DeviceParamList_SetRange(swigCPtr, index, DeviceParamList.getCPtr(values)); if (GmsecPINVOKE.SWIGPendingException.Pending) { throw GmsecPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
/// <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) { }