Statistics
| Branch: | Tag: | Revision:

root / gnuradio-core / src / lib / general / gr_pll_carriertracking_cc.i @ 8e8335e2

History | View | Annotate | Download (1.2 kB)

1
/* -*- c++ -*- */
2
/*
3
 * Copyright 2005,2011 Free Software Foundation, Inc.
4
 *
5
 * This file is part of GNU Radio
6
 *
7
 * GNU Radio is free software; you can redistribute it and/or modify
8
 * it under the terms of the GNU General Public License as published by
9
 * the Free Software Foundation; either version 3, or (at your option)
10
 * any later version.
11
 *
12
 * GNU Radio is distributed in the hope that it will be useful,
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 * GNU General Public License for more details.
16
 *
17
 * You should have received a copy of the GNU General Public License
18
 * along with GNU Radio; see the file COPYING.  If not, write to
19
 * the Free Software Foundation, Inc., 51 Franklin Street,
20
 * Boston, MA 02110-1301, USA.
21
 */
22
23
GR_SWIG_BLOCK_MAGIC(gr,pll_carriertracking_cc);
24
25
gr_pll_carriertracking_cc_sptr
26
gr_make_pll_carriertracking_cc (float loop_bw,
27
				float max_freq,
28
				float min_freq);
29
30
class gr_pll_carriertracking_cc : public gr_sync_block, public gri_control_loop
31
{
32
 private:
33
  gr_pll_carriertracking_cc (float loop_bw, float max_freq, float min_freq);
34
 public:
35
  bool lock_detector(void);
36
  bool  squelch_enable(bool);
37
  float set_lock_threshold(float);
38
39
};