Merged r5950:5978 from features/pager into trunk. Trunk passes distcheck.
[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_flex_frame.h"
29 #include "pager_slicer_fb.h"
30 #include "pager_flex_sync.h"
31 #include "pager_flex_deinterleave.h"
32 #include "pager_flex_parse.h"
33 #include <stdexcept>
34 %}
35
36 %include "pager_flex_frame.i"
37
38 // ----------------------------------------------------------------
39
40 GR_SWIG_BLOCK_MAGIC(pager,slicer_fb);
41
42 pager_slicer_fb_sptr pager_make_slicer_fb(float alpha);
43
44 class pager_slicer_fb : public gr_sync_block
45 {
46 private:
47     pager_slicer_fb(float alpha);
48
49 public:
50 };
51
52 // ----------------------------------------------------------------
53
54 GR_SWIG_BLOCK_MAGIC(pager,flex_sync);
55
56 pager_flex_sync_sptr pager_make_flex_sync(int rate);
57
58 class pager_flex_sync : public gr_block
59 {
60 private:
61     pager_flex_sync(int rate);
62
63 public:
64 };
65
66 // ----------------------------------------------------------------
67
68 GR_SWIG_BLOCK_MAGIC(pager,flex_deinterleave);
69
70 pager_flex_deinterleave_sptr pager_make_flex_deinterleave();
71
72 class pager_flex_deinterleave : public gr_sync_decimator
73 {
74 private:
75     pager_flex_deinterleave();
76
77 public:
78 };
79
80 // ----------------------------------------------------------------
81
82 GR_SWIG_BLOCK_MAGIC(pager,flex_parse);
83
84 pager_flex_parse_sptr pager_make_flex_parse(gr_msg_queue_sptr queue, float freq);
85
86 class pager_flex_parse : public gr_block
87 {
88 private:
89     pager_flex_parse(gr_msg_queue_sptr queue, float freq);
90
91 public:
92 };