GNU Radio 3.6.5 C++ API
|
00001 /* -*- c++ -*- */ 00002 /* Copyright 2012 Free Software Foundation, Inc. 00003 * 00004 * This file is part of GNU Radio 00005 * 00006 * GNU Radio is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 3, or (at your option) 00009 * any later version. 00010 * 00011 * GNU Radio is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with GNU Radio; see the file COPYING. If not, write to 00018 * the Free Software Foundation, Inc., 51 Franklin Street, 00019 * Boston, MA 02110-1301, USA. 00020 */ 00021 00022 #ifndef INCLUDED_DIGITAL_OFDM_FRAME_EQUALIZER_VCVC_IMPL_H 00023 #define INCLUDED_DIGITAL_OFDM_FRAME_EQUALIZER_VCVC_IMPL_H 00024 00025 #include <digital/ofdm_frame_equalizer_vcvc.h> 00026 00027 namespace gr { 00028 namespace digital { 00029 00030 class ofdm_frame_equalizer_vcvc_impl : public ofdm_frame_equalizer_vcvc 00031 { 00032 private: 00033 const int d_fft_len; 00034 const int d_cp_len; 00035 digital_ofdm_equalizer_base_sptr d_eq; 00036 bool d_propagate_channel_state; 00037 const int d_fixed_frame_len; 00038 std::vector<gr_complex> d_channel_state; 00039 00040 protected: 00041 void parse_length_tags( 00042 const std::vector<std::vector<gr_tag_t> > &tags, 00043 gr_vector_int &n_input_items_reqd 00044 ); 00045 00046 public: 00047 ofdm_frame_equalizer_vcvc_impl( 00048 digital_ofdm_equalizer_base_sptr equalizer, 00049 int cp_len, 00050 const std::string &len_tag_key, 00051 bool propagate_channel_state, 00052 int fixed_frame_len 00053 ); 00054 ~ofdm_frame_equalizer_vcvc_impl(); 00055 00056 int work(int noutput_items, 00057 gr_vector_int &ninput_items, 00058 gr_vector_const_void_star &input_items, 00059 gr_vector_void_star &output_items); 00060 }; 00061 00062 } // namespace digital 00063 } // namespace gr 00064 00065 #endif /* INCLUDED_DIGITAL_OFDM_FRAME_EQUALIZER_VCVC_IMPL_H */ 00066