GNU Radio 3.6.5.1 C++ API
ofdm_frame_equalizer_vcvc_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /* Copyright 2012 Free Software Foundation, Inc.
3  *
4  * This file is part of GNU Radio
5  *
6  * GNU Radio is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 3, or (at your option)
9  * any later version.
10  *
11  * GNU Radio is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with GNU Radio; see the file COPYING. If not, write to
18  * the Free Software Foundation, Inc., 51 Franklin Street,
19  * Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef INCLUDED_DIGITAL_OFDM_FRAME_EQUALIZER_VCVC_IMPL_H
23 #define INCLUDED_DIGITAL_OFDM_FRAME_EQUALIZER_VCVC_IMPL_H
24 
26 
27 namespace gr {
28  namespace digital {
29 
31  {
32  private:
33  const int d_fft_len;
34  const int d_cp_len;
36  bool d_propagate_channel_state;
37  const int d_fixed_frame_len;
38  std::vector<gr_complex> d_channel_state;
39 
40  protected:
41  void parse_length_tags(
42  const std::vector<std::vector<gr_tag_t> > &tags,
43  gr_vector_int &n_input_items_reqd
44  );
45 
46  public:
49  int cp_len,
50  const std::string &len_tag_key,
51  bool propagate_channel_state,
52  int fixed_frame_len
53  );
55 
56  int work(int noutput_items,
57  gr_vector_int &ninput_items,
58  gr_vector_const_void_star &input_items,
59  gr_vector_void_star &output_items);
60  };
61 
62  } // namespace digital
63 } // namespace gr
64 
65 #endif /* INCLUDED_DIGITAL_OFDM_FRAME_EQUALIZER_VCVC_IMPL_H */
66