2 * Copyright 2005,2006,2009 Free Software Foundation, Inc.
4 * This file is part of GNU Radio
6 * GNU Radio is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3, or (at your option)
11 * GNU Radio is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with GNU Radio; see the file COPYING. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street,
19 * Boston, MA 02110-1301, USA.
25 #include "pager_flex_frame.h"
26 #include "pager_slicer_fb.h"
27 #include "pager_flex_sync.h"
28 #include "pager_flex_deinterleave.h"
29 #include "pager_flex_parse.h"
32 %include "pager_flex_frame.i"
34 // ----------------------------------------------------------------
36 GR_SWIG_BLOCK_MAGIC(pager,slicer_fb);
38 pager_slicer_fb_sptr pager_make_slicer_fb(float alpha);
40 class pager_slicer_fb : public gr_sync_block
43 pager_slicer_fb(float alpha);
46 float dc_offset() const { return d_avg; }
49 // ----------------------------------------------------------------
51 GR_SWIG_BLOCK_MAGIC(pager,flex_sync);
53 pager_flex_sync_sptr pager_make_flex_sync();
55 class pager_flex_sync : public gr_block
63 // ----------------------------------------------------------------
65 GR_SWIG_BLOCK_MAGIC(pager,flex_deinterleave);
67 pager_flex_deinterleave_sptr pager_make_flex_deinterleave();
69 class pager_flex_deinterleave : public gr_sync_decimator
72 pager_flex_deinterleave();
77 // ----------------------------------------------------------------
79 GR_SWIG_BLOCK_MAGIC(pager,flex_parse);
81 pager_flex_parse_sptr pager_make_flex_parse(gr_msg_queue_sptr queue, float freq);
83 class pager_flex_parse : public gr_block
86 pager_flex_parse(gr_msg_queue_sptr queue, float freq);