Ejemplo n.º 1
0
 public void insert(ulong id, pf_grid_metric metric)
 {
     c_csharp_metricsPINVOKE.base_pf_grid_metrics_insert__SWIG_1(swigCPtr, id, pf_grid_metric.getCPtr(metric));
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
        public pf_grid_metric get_metric_ref(ulong key)
        {
            pf_grid_metric ret = new pf_grid_metric(c_csharp_metricsPINVOKE.base_pf_grid_metrics_get_metric_ref__SWIG_2(swigCPtr, key), false);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 3
0
        public pf_grid_metric get_metric_ref(uint lane, uint tile)
        {
            pf_grid_metric ret = new pf_grid_metric(c_csharp_metricsPINVOKE.base_pf_grid_metrics_get_metric_ref__SWIG_1(swigCPtr, lane, tile), false);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 4
0
        public pf_grid_metric at(uint n)
        {
            pf_grid_metric ret = new pf_grid_metric(c_csharp_metricsPINVOKE.base_pf_grid_metrics_at(swigCPtr, n), false);

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