GNU Radio's OWC Package
Hermitian_Symmetry_i_o_same_vec_size_cplus_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/* gr-owc OOT module for optical wireless communications.
3 * gr-owc is compatible with GNU Radio v3.10
4 *
5 * Copyright 2024 Kunal Sangurmath from Ubiquitous Communications and Networking (UCAN) Lab, University of Massachusetts, Boston.
6 *
7 * This is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3, or (at your option)
10 * any later version.
11 *
12 * This software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this software; see the file COPYING. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street,
20 * Boston, MA 02110-1301, USA.
21 *
22 */
23
24#ifndef INCLUDED_OWC_HERMITIAN_SYMMETRY_I_O_SAME_VEC_SIZE_CPLUS_IMPL_H
25#define INCLUDED_OWC_HERMITIAN_SYMMETRY_I_O_SAME_VEC_SIZE_CPLUS_IMPL_H
26
28
29namespace gr {
30namespace owc {
31
34private:
35 int d_fft_len;
36 bool d_use_negative_coefficients;
37
38public:
41
42 void set_fft_len(int fft_len){d_fft_len = fft_len;}
43 int fft_len() {return d_fft_len;}
44
46 bool use_negative_coefficients() {return d_use_negative_coefficients;}
47
48 // Where all the action really happens
49 int work(int noutput_items, gr_vector_const_void_star &input_items,
50 gr_vector_void_star &output_items);
51};
52
53} // namespace owc
54} // namespace gr
55
56#endif /* INCLUDED_OWC_HERMITIAN_SYMMETRY_I_O_SAME_VEC_SIZE_CPLUS_IMPL_H */
Hermitian_Symmetry_i_o_same_vec_size_cplus_impl(int fft_len, bool use_negative_coefficients)
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
void set_fft_len(int fft_len)
Definition Hermitian_Symmetry_i_o_same_vec_size_cplus_impl.h:42
int fft_len()
Definition Hermitian_Symmetry_i_o_same_vec_size_cplus_impl.h:43
bool use_negative_coefficients()
Definition Hermitian_Symmetry_i_o_same_vec_size_cplus_impl.h:46
void set_use_negative_coefficients(bool use_negative_coefficients)
Definition Hermitian_Symmetry_i_o_same_vec_size_cplus_impl.h:45
<+description of block+>
Definition Hermitian_Symmetry_i_o_same_vec_size_cplus.h:39
Definition Hermitian_Symmetry_i_o_same_vec_size_cplus.h:31
Definition Hermitian_Symmetry_i_o_same_vec_size_cplus.h:30