Example #1
0
 public void insert(ulong id, q_by_lane_metric metric)
 {
     c_csharp_metricsPINVOKE.base_q_by_lane_metrics_insert__SWIG_1(swigCPtr, id, q_by_lane_metric.getCPtr(metric));
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
        public q_by_lane_metric get_metric_ref(ulong key)
        {
            q_by_lane_metric ret = new q_by_lane_metric(c_csharp_metricsPINVOKE.base_q_by_lane_metrics_get_metric_ref__SWIG_2(swigCPtr, key), false);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #3
0
        public q_by_lane_metric get_metric_ref(uint lane, uint tile, uint cycle)
        {
            q_by_lane_metric ret = new q_by_lane_metric(c_csharp_metricsPINVOKE.base_q_by_lane_metrics_get_metric_ref__SWIG_0(swigCPtr, lane, tile, cycle), false);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #4
0
        public q_by_lane_metric at(uint n)
        {
            q_by_lane_metric ret = new q_by_lane_metric(c_csharp_metricsPINVOKE.base_q_by_lane_metrics_at(swigCPtr, n), false);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(q_by_lane_metric obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }