GNU Radio's OWC Package
Hermitian_Symmetry_i_o_same_vec_size_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /* gr-owc OOT module for optical wireless communications.
3  *
4  * Copyright 2021 Arsalan Ahmed from The Ubiquitous Communications and Networking (UCAN) Lab, University of Massachusetts, Boston.
5  *
6  * This 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  * This software 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 this software; 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 
23 #ifndef INCLUDED_OWC_HERMITIAN_SYMMETRY_I_O_SAME_VEC_SIZE_IMPL_H
24 #define INCLUDED_OWC_HERMITIAN_SYMMETRY_I_O_SAME_VEC_SIZE_IMPL_H
25 
27 
28 namespace gr {
29  namespace owc {
30 
32  {
33  private:
34  int d_fft_len;
35 
36  public:
39 
40  void set_fft_len(int fft_len){d_fft_len = fft_len;}
41  int fft_len() {return d_fft_len;}
42 
43  // Where all the action really happens
44  int work(
45  int noutput_items,
46  gr_vector_const_void_star &input_items,
47  gr_vector_void_star &output_items
48  );
49  };
50 
51  } // namespace owc
52 } // namespace gr
53 
54 #endif /* INCLUDED_OWC_HERMITIAN_SYMMETRY_I_O_SAME_VEC_SIZE_IMPL_H */
55 
void set_fft_len(int fft_len)
Definition: Hermitian_Symmetry_i_o_same_vec_size_impl.h:40
Definition: Hermitian_Symmetry_i_o_same_vec_size_impl.h:31
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
Definition: binary_to_decimal_mapper.h:29
int fft_len()
Definition: Hermitian_Symmetry_i_o_same_vec_size_impl.h:41
<+description of block+>
Definition: Hermitian_Symmetry_i_o_same_vec_size.h:37