GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
conv_bit_corr_bb.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2013-2014 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 #ifndef INCLUDED_FEC_CONV_BIT_CORR_BB_H
24 #define INCLUDED_FEC_CONV_BIT_CORR_BB_H
25 
26 #include <gnuradio/fec/api.h>
27 #include <gnuradio/block.h>
28 #include <vector>
29 
30 namespace gr {
31  namespace fec {
32 
33  /*!
34  * \brief Correlate block in FECAPI
35  * \ingroup error_coding_blk
36  *
37  * \details
38  *
39  * What does this block do?
40  */
41  class FEC_API conv_bit_corr_bb : virtual public block
42  {
43  public:
44  // gr::fec::conv_bit_corr_bb::sptr
45  typedef boost::shared_ptr<conv_bit_corr_bb> sptr;
46 
47  static sptr make(std::vector<unsigned long long> correlator,
48  int corr_sym, int corr_len, int cut,
49  int flush, float thresh);
50 
51  /*!
52  * This subroutine will find the encoded data garble rate
53  * corresponding to a syndrome density of `target', that is created
54  * with an annihilating polynomial with 'taps' number of taps.
55  */
56  virtual float data_garble_rate(int taps, float syn_density) = 0;
57  };
58 
59  } /* namespace fec */
60 } /* namespace gr */
61 
62 #endif /* INCLUDED_FEC_CONV_BIT_CORR_BB_H */
Correlate block in FECAPI.
Definition: conv_bit_corr_bb.h:41
Include this header to use the message passing features.
Definition: logger.h:131
boost::shared_ptr< conv_bit_corr_bb > sptr
Definition: conv_bit_corr_bb.h:45
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:30
static const float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:60