public void Add(System.Guid key, MeasurementMetadata value) {
   guid_t tempkey = Common.ParseGuid(key.ToByteArray(), true);
   {
     CommonPINVOKE.MeasurementMetadataMap_Add(swigCPtr, guid_t.getCPtr(tempkey), MeasurementMetadata.getCPtr(value));
     if (CommonPINVOKE.SWIGPendingException.Pending) throw CommonPINVOKE.SWIGPendingException.Retrieve();
   }
 }
Beispiel #2
0
 public NullableGuid(guid_t value) : this(CommonPINVOKE.new_NullableGuid__SWIG_1(guid_t.getCPtr(value)), true)
 {
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 private void setitem(System.Guid key, MeasurementMetadata x) {
   guid_t tempkey = Common.ParseGuid(key.ToByteArray(), true);
   {
     CommonPINVOKE.MeasurementMetadataMap_setitem(swigCPtr, guid_t.getCPtr(tempkey), MeasurementMetadata.getCPtr(x));
     if (CommonPINVOKE.SWIGPendingException.Pending) throw CommonPINVOKE.SWIGPendingException.Retrieve();
   }
 }
 public bool Remove(System.Guid key) {
   guid_t tempkey = Common.ParseGuid(key.ToByteArray(), true);
   {
     bool ret = CommonPINVOKE.MeasurementMetadataMap_Remove(swigCPtr, guid_t.getCPtr(tempkey));
     if (CommonPINVOKE.SWIGPendingException.Pending) throw CommonPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 }
 private System.Guid get_next_key(global::System.IntPtr swigiterator) {
     global::System.IntPtr cPtr = CommonPINVOKE.MeasurementMetadataMap_get_next_key(swigCPtr, swigiterator);
     if (CommonPINVOKE.SWIGPendingException.Pending) throw CommonPINVOKE.SWIGPendingException.Retrieve();
     using (guid_t tempGuid = (cPtr == global::System.IntPtr.Zero) ? null : new guid_t(cPtr, false)) {
       byte[] data = new byte[16];
       Common.GetGuidBytes(tempGuid, data);
       return new System.Guid(data);
     }
   }
 private MeasurementMetadata getitem(System.Guid key) {
   guid_t tempkey = Common.ParseGuid(key.ToByteArray(), true);
   {
     global::System.IntPtr cPtr = CommonPINVOKE.MeasurementMetadataMap_getitem(swigCPtr, guid_t.getCPtr(tempkey));
     MeasurementMetadata ret = (cPtr == global::System.IntPtr.Zero) ? null : new MeasurementMetadata(cPtr, true);
     if (CommonPINVOKE.SWIGPendingException.Pending) throw CommonPINVOKE.SWIGPendingException.Retrieve();
     return ret;
   }
 }
Beispiel #7
0
        public guid_t GetValueOrDefault()
        {
            guid_t ret = new guid_t(CommonPINVOKE.NullableGuid_GetValueOrDefault(swigCPtr), false);

            if (CommonPINVOKE.SWIGPendingException.Pending)
            {
                throw CommonPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #8
0
 private void SetNodeID(System.Guid nodeID)
 {
     guid_t tempnodeID = Common.ParseGuid(nodeID.ToByteArray(), true);
     {
         CommonPINVOKE.PublisherInstance_SetNodeID(swigCPtr, guid_t.getCPtr(tempnodeID));
         if (CommonPINVOKE.SWIGPendingException.Pending)
         {
             throw CommonPINVOKE.SWIGPendingException.Retrieve();
         }
     }
 }
Beispiel #9
0
 public void Insert(int index, System.Guid x)
 {
     guid_t tempx = Common.ParseGuid(x.ToByteArray(), true);
     {
         CommonPINVOKE.GuidCollection_Insert(swigCPtr, index, guid_t.getCPtr(tempx));
         if (CommonPINVOKE.SWIGPendingException.Pending)
         {
             throw CommonPINVOKE.SWIGPendingException.Retrieve();
         }
     }
 }
Beispiel #10
0
 public void DisconnectSubscriber(System.Guid instanceID)
 {
     guid_t tempinstanceID = Common.ParseGuid(instanceID.ToByteArray(), true);
     {
         CommonPINVOKE.PublisherInstance_DisconnectSubscriber__SWIG_1(swigCPtr, guid_t.getCPtr(tempinstanceID));
         if (CommonPINVOKE.SWIGPendingException.Pending)
         {
             throw CommonPINVOKE.SWIGPendingException.Retrieve();
         }
     }
 }
Beispiel #11
0
 private void setitem(int index, System.Guid val)
 {
     guid_t tempval = Common.ParseGuid(val.ToByteArray(), true);
     {
         CommonPINVOKE.GuidCollection_setitem(swigCPtr, index, guid_t.getCPtr(tempval));
         if (CommonPINVOKE.SWIGPendingException.Pending)
         {
             throw CommonPINVOKE.SWIGPendingException.Retrieve();
         }
     }
 }
Beispiel #12
0
 public int GetSignalIndex(System.Guid signalID)
 {
     guid_t tempsignalID = Common.ParseGuid(signalID.ToByteArray(), true);
     {
         int ret = CommonPINVOKE.SignalIndexCache_GetSignalIndex(swigCPtr, guid_t.getCPtr(tempsignalID));
         if (CommonPINVOKE.SWIGPendingException.Pending)
         {
             throw CommonPINVOKE.SWIGPendingException.Retrieve();
         }
         return(ret);
     }
 }
Beispiel #13
0
 public static GuidCollection Repeat(System.Guid value, int count)
 {
     guid_t tempvalue = Common.ParseGuid(value.ToByteArray(), true);
     {
         global::System.IntPtr cPtr = CommonPINVOKE.GuidCollection_Repeat(guid_t.getCPtr(tempvalue), count);
         GuidCollection        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new GuidCollection(cPtr, true);
         if (CommonPINVOKE.SWIGPendingException.Pending)
         {
             throw CommonPINVOKE.SWIGPendingException.Retrieve();
         }
         return(ret);
     }
 }
Beispiel #14
0
 private System.Guid getitem(int index)
 {
     global::System.IntPtr cPtr = CommonPINVOKE.GuidCollection_getitem(swigCPtr, index);
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
     using (guid_t tempGuid = (cPtr == global::System.IntPtr.Zero) ? null : new guid_t(cPtr, false)) {
         byte[] data = new byte[16];
         Common.GetGuidBytes(tempGuid, data);
         return(new System.Guid(data));
     }
 }
 public System.Guid GetSubscriberID()
 {
     global::System.IntPtr cPtr = CommonPINVOKE.SubscriberInstanceBase_GetSubscriberID(swigCPtr);
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
     using (guid_t tempGuid = (cPtr == global::System.IntPtr.Zero) ? null : new guid_t(cPtr, false)) {
         byte[] data = new byte[16];
         Common.GetGuidBytes(tempGuid, data);
         return(new System.Guid(data));
     }
 }
Beispiel #16
0
 public System.Guid GetSignalID(int signalIndex)
 {
     global::System.IntPtr cPtr = CommonPINVOKE.SignalIndexCache_GetSignalID(swigCPtr, signalIndex);
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
     using (guid_t tempGuid = (cPtr == global::System.IntPtr.Zero) ? null : new guid_t(cPtr, false)) {
         byte[] data = new byte[16];
         Common.GetGuidBytes(tempGuid, data);
         return(new System.Guid(data));
     }
 }
        public static bool TryGetMeasurementMetdataFromConfigurationFrame(System.Guid signalID, ConfigurationFrame sourceFrame, out MeasurementMetadata measurementMetadata)
        {
            guid_t tempsignalID = Common.ParseGuid(signalID.ToByteArray(), true);

            measurementMetadata = new MeasurementMetadata();
            {
                bool ret = CommonPINVOKE.SubscriberInstanceBase_TryGetMeasurementMetdataFromConfigurationFrame(guid_t.getCPtr(tempsignalID), ConfigurationFrame.getCPtr(sourceFrame), MeasurementMetadata.getCPtr(measurementMetadata));
                if (CommonPINVOKE.SWIGPendingException.Pending)
                {
                    throw CommonPINVOKE.SWIGPendingException.Retrieve();
                }
                return(ret);
            }
        }
        public bool TryFindTargetConfigurationFrame(System.Guid signalID, out ConfigurationFrame targetFrame)
        {
            guid_t tempsignalID = Common.ParseGuid(signalID.ToByteArray(), true);

            targetFrame = new ConfigurationFrame();
            {
                bool ret = CommonPINVOKE.SubscriberInstanceBase_TryFindTargetConfigurationFrame(swigCPtr, guid_t.getCPtr(tempsignalID), ConfigurationFrame.getCPtr(targetFrame));
                if (CommonPINVOKE.SWIGPendingException.Pending)
                {
                    throw CommonPINVOKE.SWIGPendingException.Retrieve();
                }
                return(ret);
            }
        }
Beispiel #19
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(guid_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }