Exemplo n.º 1
0
 public MeasurementMetadataCollection(MeasurementMetadataCollection other) : this(CommonPINVOKE.new_MeasurementMetadataCollection__SWIG_1(MeasurementMetadataCollection.getCPtr(other)), true)
 {
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public PublisherHandler(string name)
 {
     m_name                = name;
     m_deviceMetadata      = new DeviceMetadataCollection();
     m_measurementMetadata = new MeasurementMetadataCollection();
     m_phasorMetadata      = new PhasorMetadataCollection();
 }
Exemplo n.º 3
0
 public MeasurementMetadataCollectionEnumerator(MeasurementMetadataCollection collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 4
0
 public void SetRange(int index, MeasurementMetadataCollection values)
 {
     CommonPINVOKE.MeasurementMetadataCollection_SetRange(swigCPtr, index, MeasurementMetadataCollection.getCPtr(values));
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 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();
     }
 }
Exemplo n.º 6
0
        public MeasurementMetadataCollection FilterMetadata(string filterExpression)
        {
            MeasurementMetadataCollection ret = new MeasurementMetadataCollection(CommonPINVOKE.PublisherInstance_FilterMetadata(swigCPtr, filterExpression), true);

            if (CommonPINVOKE.SWIGPendingException.Pending)
            {
                throw CommonPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 7
0
        public static MeasurementMetadataCollection Repeat(MeasurementMetadata value, int count)
        {
            global::System.IntPtr         cPtr = CommonPINVOKE.MeasurementMetadataCollection_Repeat(MeasurementMetadata.getCPtr(value), count);
            MeasurementMetadataCollection ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MeasurementMetadataCollection(cPtr, true);

            if (CommonPINVOKE.SWIGPendingException.Pending)
            {
                throw CommonPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 8
0
        public MeasurementMetadataCollection GetRange(int index, int count)
        {
            global::System.IntPtr         cPtr = CommonPINVOKE.MeasurementMetadataCollection_GetRange(swigCPtr, index, count);
            MeasurementMetadataCollection ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MeasurementMetadataCollection(cPtr, true);

            if (CommonPINVOKE.SWIGPendingException.Pending)
            {
                throw CommonPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MeasurementMetadataCollection obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }