Added gr-pager component to trunk by merging from r3474:r3537 in
[debian/gnuradio] / gr-pager / src / pager.i
1 /*
2  * Copyright 2005,2006 Free Software Foundation, Inc.
3  * 
4  * This file is part of GNU Radio
5  * 
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 2, or (at your option)
9  * any later version.
10  * 
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.
15  * 
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.
20  */
21
22 %feature("autodoc","1");
23 %include "exception.i"
24 %import "gnuradio.i"
25
26 %{
27 #include "gnuradio_swig_bug_workaround.h"       // mandatory bug fix
28 #include "pager_slicer_fb.h"
29 #include "pager_flex_deframer.h"
30 #include <stdexcept>
31 %}
32
33 // ----------------------------------------------------------------
34
35 GR_SWIG_BLOCK_MAGIC(pager,slicer_fb);
36
37 pager_slicer_fb_sptr pager_make_slicer_fb(float alpha, float beta);
38
39 class pager_slicer_fb : public gr_sync_block
40 {
41 private:
42     pager_slicer_fb(float alpha, float beta);
43
44 public:
45 };
46
47 // ----------------------------------------------------------------
48
49 GR_SWIG_BLOCK_MAGIC(pager,flex_deframer);
50
51 pager_flex_deframer_sptr pager_make_flex_deframer(int rate);
52
53 class pager_flex_deframer : public gr_block
54 {
55 private:
56     pager_flex_deframer(int rate);
57
58 public:
59 };
60
61 // ----------------------------------------------------------------