GNU Radio Manual and C++ API Reference 3.8.5.0
The Free & Open Software Radio Ecosystem
 
Loading...
Searching...
No Matches
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/block.h>
27#include <gnuradio/fec/api.h>
28#include <vector>
29
30namespace gr {
31namespace 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 */
41class FEC_API conv_bit_corr_bb : virtual public block
42{
43public:
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,
49 int corr_len,
50 int cut,
51 int flush,
52 float thresh);
53
54 /*!
55 * This subroutine will find the encoded data garble rate
56 * corresponding to a syndrome density of `target', that is created
57 * with an annihilating polynomial with 'taps' number of taps.
58 */
59 virtual float data_garble_rate(int taps, float syn_density) = 0;
60};
61
62} /* namespace fec */
63} /* namespace gr */
64
65#endif /* INCLUDED_FEC_CONV_BIT_CORR_BB_H */
The abstract base class for all 'terminal' processing blocks.
Definition block.h:72
Correlate block in FECAPI.
Definition conv_bit_corr_bb.h:42
static sptr make(std::vector< unsigned long long > correlator, int corr_sym, int corr_len, int cut, int flush, float thresh)
virtual float data_garble_rate(int taps, float syn_density)=0
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
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46