summaryrefslogtreecommitdiff
path: root/gr-trellis/src/lib/trellis_constellation_metrics_cf.i
diff options
context:
space:
mode:
authorBen Reynwar2011-02-06 14:02:44 -0700
committerBen Reynwar2011-02-06 14:02:44 -0700
commit4b42ab554e45e4326466976028ed25123746205f (patch)
tree1b045d382818cfacaf5bb61fddb77035634f6074 /gr-trellis/src/lib/trellis_constellation_metrics_cf.i
parentf450ed2d99672832eb8ca10af4c3be9a1dc81a96 (diff)
downloadgnuradio-4b42ab554e45e4326466976028ed25123746205f.tar.gz
gnuradio-4b42ab554e45e4326466976028ed25123746205f.tar.bz2
gnuradio-4b42ab554e45e4326466976028ed25123746205f.zip
Added trellis_constellation_metrics_cf. It is equivalent to trellis_metrics_c but it uses the constellation object's calc_metric method. This method is also added here. trellis_metric_type.h is moved to gr_metric_type since constellation object is now dependent on it.
Diffstat (limited to 'gr-trellis/src/lib/trellis_constellation_metrics_cf.i')
-rw-r--r--gr-trellis/src/lib/trellis_constellation_metrics_cf.i33
1 files changed, 33 insertions, 0 deletions
diff --git a/gr-trellis/src/lib/trellis_constellation_metrics_cf.i b/gr-trellis/src/lib/trellis_constellation_metrics_cf.i
new file mode 100644
index 000000000..b4a5bbbb7
--- /dev/null
+++ b/gr-trellis/src/lib/trellis_constellation_metrics_cf.i
@@ -0,0 +1,33 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2004 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Radio
+ *
+ * GNU Radio is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3, or (at your option)
+ * any later version.
+ *
+ * GNU Radio is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with GNU Radio; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+// WARNING: this file is machine generated. Edits will be over written
+
+GR_SWIG_BLOCK_MAGIC(trellis,constellation_metrics_cf);
+
+trellis_constellation_metrics_cf_sptr trellis_make_constellation_metrics_cf (gr_constellation_sptr constellation, trellis_metric_type_t TYPE);
+
+class trellis_constellation_metrics_cf : public gr_block
+{
+private:
+ trellis_constellation_metrics_cf (gr_constellation_sptr constellation, trellis_metric_type_t TYPE);
+};