示例#1
0
 public tile_metric(tile_metric metric) : this(c_csharp_metricsPINVOKE.new_tile_metric__SWIG_7(tile_metric.getCPtr(metric)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public tile_metric(tile_metric metric, read_metric_vector read_metrics) : this(c_csharp_metricsPINVOKE.new_tile_metric__SWIG_6(tile_metric.getCPtr(metric), read_metric_vector.getCPtr(read_metrics)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public void insert(ulong id, tile_metric metric)
 {
     c_csharp_metricsPINVOKE.base_tile_metrics_insert__SWIG_1(swigCPtr, id, tile_metric.getCPtr(metric));
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
        public tile_metric get_metric_ref(ulong key)
        {
            tile_metric ret = new tile_metric(c_csharp_metricsPINVOKE.base_tile_metrics_get_metric_ref__SWIG_2(swigCPtr, key), false);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
        public tile_metric get_metric_ref(uint lane, uint tile)
        {
            tile_metric ret = new tile_metric(c_csharp_metricsPINVOKE.base_tile_metrics_get_metric_ref__SWIG_1(swigCPtr, lane, tile), false);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
        public tile_metric at(uint n)
        {
            tile_metric ret = new tile_metric(c_csharp_metricsPINVOKE.base_tile_metrics_at(swigCPtr, n), false);

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