GNU Radio Manual and C++ API Reference  3.9.1.0
The Free & Open Software Radio Ecosystem
filter_delay_fc.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2004,2012 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  *
9  */
10 
11 #ifndef INCLUDED_FILTER_FILTER_DELAY_FC_H
12 #define INCLUDED_FILTER_FILTER_DELAY_FC_H
13 
14 #include <gnuradio/filter/api.h>
15 #include <gnuradio/sync_block.h>
16 
17 namespace gr {
18 namespace filter {
19 
20 /*!
21  * \brief Filter-Delay Combination Block.
22  * \ingroup filter_blk
23  *
24  * \details
25  * The block takes one or two float stream and outputs a complex
26  * stream.
27  *
28  * If only one float stream is input, the real output is a delayed
29  * version of this input and the imaginary output is the filtered
30  * output.
31  *
32  * If two floats are connected to the input, then the real output
33  * is the delayed version of the first input, and the imaginary
34  * output is the filtered output.
35  *
36  * The delay in the real path accounts for the group delay
37  * introduced by the filter in the imaginary path. The filter taps
38  * needs to be calculated before initializing this block.
39  */
40 class FILTER_API filter_delay_fc : virtual public sync_block
41 {
42 public:
43  // gr::filter::filter_delay_fc::sptr
44  typedef std::shared_ptr<filter_delay_fc> sptr;
45 
46  /*!
47  * Build a filter with delay block.
48  */
49  static sptr make(const std::vector<float>& taps);
50 };
51 
52 } /* namespace filter */
53 } /* namespace gr */
54 
55 #endif /* INCLUDED_FILTER_FILTER_DELAY_FC_H */
FILTER_API
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:18
api.h
gr::sync_block
synchronous 1:1 input to output with history
Definition: sync_block.h:25
gr::filter::filter_delay_fc::sptr
std::shared_ptr< filter_delay_fc > sptr
Definition: filter_delay_fc.h:44
sync_block.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29
gr::filter::filter_delay_fc
Filter-Delay Combination Block.
Definition: filter_delay_fc.h:40
taps
static constexpr float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9