summaryrefslogtreecommitdiff
path: root/gr-noaa/swig/noaa_hrpt_sync_fb.i
diff options
context:
space:
mode:
authorJohnathan Corgan2009-09-08 16:52:37 -0700
committerJohnathan Corgan2009-09-20 09:39:27 -0700
commitb7d1c551fb374a0e5219fbb4d118f3f19f448393 (patch)
treed8635c7eea59530f07b5c8ca2c43980c38cd0d8a /gr-noaa/swig/noaa_hrpt_sync_fb.i
parent65bcd58b65219408268e5db1b8fbafb2d3ccc215 (diff)
downloadgnuradio-b7d1c551fb374a0e5219fbb4d118f3f19f448393.tar.gz
gnuradio-b7d1c551fb374a0e5219fbb4d118f3f19f448393.tar.bz2
gnuradio-b7d1c551fb374a0e5219fbb4d118f3f19f448393.zip
Changed synchronizer to output sliced bits.
Diffstat (limited to 'gr-noaa/swig/noaa_hrpt_sync_fb.i')
-rw-r--r--gr-noaa/swig/noaa_hrpt_sync_fb.i37
1 files changed, 37 insertions, 0 deletions
diff --git a/gr-noaa/swig/noaa_hrpt_sync_fb.i b/gr-noaa/swig/noaa_hrpt_sync_fb.i
new file mode 100644
index 000000000..a8e5b21dd
--- /dev/null
+++ b/gr-noaa/swig/noaa_hrpt_sync_fb.i
@@ -0,0 +1,37 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2009 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.
+ */
+
+GR_SWIG_BLOCK_MAGIC(noaa,hrpt_sync_fb)
+
+noaa_hrpt_sync_fb_sptr
+noaa_make_hrpt_sync_fb(float alpha, float beta, float sps, float max_offset);
+
+class noaa_hrpt_sync_fb : public gr_sync_block
+{
+private:
+ noaa_hrpt_sync_fb();
+
+public:
+ void set_alpha(float alpha);
+ void set_beta(float beta);
+ void set_max_offset(float min_freq);
+};