diff options
author | Tom Rondeau | 2011-03-28 22:20:03 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-03-28 22:22:35 -0400 |
commit | f6e8da2d7cb16c68a3e3683a0e81c84eda73dabf (patch) | |
tree | 8365d09c52de1dd6ece6a9c334325f923333facd /gr-digital/swig/digital_costas_loop_cc.i | |
parent | 58b27b537b66cd8d4225bf9a62a0afda22e9c387 (diff) | |
download | gnuradio-f6e8da2d7cb16c68a3e3683a0e81c84eda73dabf.tar.gz gnuradio-f6e8da2d7cb16c68a3e3683a0e81c84eda73dabf.tar.bz2 gnuradio-f6e8da2d7cb16c68a3e3683a0e81c84eda73dabf.zip |
gr-digital: renaming block to avoid name collision with stuff in gnuradio-core.
Diffstat (limited to 'gr-digital/swig/digital_costas_loop_cc.i')
-rw-r--r-- | gr-digital/swig/digital_costas_loop_cc.i | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/gr-digital/swig/digital_costas_loop_cc.i b/gr-digital/swig/digital_costas_loop_cc.i new file mode 100644 index 000000000..b339a3e65 --- /dev/null +++ b/gr-digital/swig/digital_costas_loop_cc.i @@ -0,0 +1,44 @@ +/* -*- c++ -*- */ +/* + * Copyright 2005,2006,2011 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(digital,costas_loop_cc); + +digital_costas_loop_cc_sptr +digital_make_costas_loop_cc (float alpha, float beta, + float max_freq, float min_freq, + int order + ) throw (std::invalid_argument); + + +class digital_costas_loop_cc : public gr_sync_block +{ + private: + digital_costas_loop_cc (float alpha, float beta, + float max_freq, float min_freq, int order); + + public: + void set_alpha(float alpha); + float alpha(); + void set_beta(float beta); + float beta(); + float freq(); +}; |