GNU Radio's GFDM Package
advanced_receiver_sb_cc_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2016 Andrej Rode, Johannes Demel.
4 *
5 * This is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3, or (at your option)
8 * any later version.
9 *
10 * This software is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this software; see the file COPYING. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#ifndef INCLUDED_GFDM_ADVANCED_RECEIVER_SB_CC_IMPL_H
22#define INCLUDED_GFDM_ADVANCED_RECEIVER_SB_CC_IMPL_H
23
26
27namespace gr
28{
29 namespace gfdm
30 {
31
33 {
34 private:
36
37 public:
38 advanced_receiver_sb_cc_impl(int n_timeslots, int n_subcarriers, int overlap, int ic_iter,
39 std::vector<gr_complex> frequency_taps,
40 gr::digital::constellation_sptr constellation,
41 std::vector<int> subcarrier_map, int do_phase_compensation);
42
44
45 void set_phase_compensation(int do_phase_compensation){
46 d_adv_kernel->set_phase_compensation(do_phase_compensation);}
47 int get_phase_compensation(){return d_adv_kernel->get_phase_compensation();}
48
49 void set_ic(int ic_iter)
50 { d_adv_kernel->set_ic(ic_iter); }
51
52 int get_ic(void)
53 { return d_adv_kernel->get_ic(); }
54
55 // Where all the action really happens
56 int work(int noutput_items,
57 gr_vector_const_void_star &input_items,
58 gr_vector_void_star &output_items);
59 };
60
61 } // namespace gfdm
62} // namespace gr
63
64#endif /* INCLUDED_GFDM_ADVANCED_RECEIVER_SB_CC_IMPL_H */
65
boost::shared_ptr< advanced_receiver_kernel_cc > sptr
Definition: advanced_receiver_kernel_cc.h:39
Definition: advanced_receiver_sb_cc_impl.h:33
int get_phase_compensation()
Definition: advanced_receiver_sb_cc_impl.h:47
void set_ic(int ic_iter)
Definition: advanced_receiver_sb_cc_impl.h:49
void set_phase_compensation(int do_phase_compensation)
Definition: advanced_receiver_sb_cc_impl.h:45
int get_ic(void)
Definition: advanced_receiver_sb_cc_impl.h:52
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
advanced_receiver_sb_cc_impl(int n_timeslots, int n_subcarriers, int overlap, int ic_iter, std::vector< gr_complex > frequency_taps, gr::digital::constellation_sptr constellation, std::vector< int > subcarrier_map, int do_phase_compensation)
advanced receiver working as sync block
Definition: advanced_receiver_sb_cc.h:41
Definition: add_cyclic_prefix_cc.h:30