public PublisherHandler(string name) { m_name = name; m_deviceMetadata = new DeviceMetadataCollection(); m_measurementMetadata = new MeasurementMetadataCollection(); m_phasorMetadata = new PhasorMetadataCollection(); }
public PhasorMetadataCollection(PhasorMetadataCollection other) : this(CommonPINVOKE.new_PhasorMetadataCollection__SWIG_1(PhasorMetadataCollection.getCPtr(other)), true) { if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } }
public PhasorMetadataCollectionEnumerator(PhasorMetadataCollection collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, PhasorMetadataCollection values) { CommonPINVOKE.PhasorMetadataCollection_SetRange(swigCPtr, index, PhasorMetadataCollection.getCPtr(values)); if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } }
public static PhasorMetadataCollection Repeat(PhasorMetadata value, int count) { global::System.IntPtr cPtr = CommonPINVOKE.PhasorMetadataCollection_Repeat(PhasorMetadata.getCPtr(value), count); PhasorMetadataCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new PhasorMetadataCollection(cPtr, true); if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PhasorMetadataCollection GetRange(int index, int count) { global::System.IntPtr cPtr = CommonPINVOKE.PhasorMetadataCollection_GetRange(swigCPtr, index, count); PhasorMetadataCollection ret = (cPtr == global::System.IntPtr.Zero) ? null : new PhasorMetadataCollection(cPtr, true); if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void DefineMetadata(DeviceMetadataCollection deviceMetadata, MeasurementMetadataCollection measurementMetadata, PhasorMetadataCollection phasorMetadata) { CommonPINVOKE.PublisherInstance_DefineMetadata__SWIG_1(swigCPtr, DeviceMetadataCollection.getCPtr(deviceMetadata), MeasurementMetadataCollection.getCPtr(measurementMetadata), PhasorMetadataCollection.getCPtr(phasorMetadata)); if (CommonPINVOKE.SWIGPendingException.Pending) { throw CommonPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PhasorMetadataCollection obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }