GNU Radio's LTE Package
layer_demapper_vcvc_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2013 Communications Engineering Lab (CEL) / Karlsruhe Institute of Technology (KIT)
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_LTE_LAYER_DEMAPPER_VCVC_IMPL_H
22#define INCLUDED_LTE_LAYER_DEMAPPER_VCVC_IMPL_H
23
25
26namespace gr {
27 namespace lte {
28
30 {
31 private:
32 int d_N_ant;
33 int d_vlen;
34 std::string d_style;
35
36 void handle_msg(pmt::pmt_t msg);
37
38 void demap_1_ant(gr_complex* out, const gr_complex * in, int len);
39 void demap_2_ant(gr_complex* out, const gr_complex * in, int len);
40 void demap_4_ant(gr_complex* out, const gr_complex * in, int len);
41
42 public:
43 layer_demapper_vcvc_impl(std::string& name, int N_ant, int vlen, std::string style);
45
46 // Where all the action really happens
47 int work(int noutput_items,
48 gr_vector_const_void_star &input_items,
49 gr_vector_void_star &output_items);
50
51 void set_N_ant(int N_ant);
52 int get_N_ant(){return d_N_ant;}
53 void set_decoding_style(std::string style);
54 std::string get_decoding_style(){return d_style;}
55 };
56
57 } // namespace lte
58} // namespace gr
59
60#endif /* INCLUDED_LTE_LAYER_DEMAPPER_VCVC_IMPL_H */
61
Definition: layer_demapper_vcvc_impl.h:30
layer_demapper_vcvc_impl(std::string &name, int N_ant, int vlen, std::string style)
int get_N_ant()
Definition: layer_demapper_vcvc_impl.h:52
void set_decoding_style(std::string style)
std::string get_decoding_style()
Definition: layer_demapper_vcvc_impl.h:54
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
Layer Demapper.
Definition: layer_demapper_vcvc.h:41
Definition: bch_crc_check_ant_chooser_bb.h:28