3 * Copyright 2003,2004 Free Software Foundation, Inc.
5 * This file is part of GNU Radio
7 * GNU Radio 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 2, or (at your option)
12 * GNU Radio 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.
17 * You should have received a copy of the GNU General Public License
18 * along with GNU Radio; see the file COPYING. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street,
20 * Boston, MA 02110-1301, USA.
27 #include <gr_fir_util.h>
28 #include <gr_fir_sysconfig.h>
31 // There's no problem that can't be solved by the addition of
32 // another layer of indirection...
35 // --- constructors ---
39 gr_fir_util::create_gr_fir_ccf (const std::vector<float> &taps)
41 return gr_fir_sysconfig_singleton()->create_gr_fir_ccf (taps);
45 gr_fir_util::create_gr_fir_fcc (const std::vector<gr_complex> &taps)
47 return gr_fir_sysconfig_singleton()->create_gr_fir_fcc (taps);
51 gr_fir_util::create_gr_fir_ccc (const std::vector<gr_complex> &taps)
53 return gr_fir_sysconfig_singleton()->create_gr_fir_ccc (taps);
57 gr_fir_util::create_gr_fir_fff (const std::vector<float> &taps)
59 return gr_fir_sysconfig_singleton()->create_gr_fir_fff (taps);
63 gr_fir_util::create_gr_fir_scc (const std::vector<gr_complex> &taps)
65 return gr_fir_sysconfig_singleton()->create_gr_fir_scc (taps);
69 gr_fir_util::create_gr_fir_fsf (const std::vector<float> &taps)
71 return gr_fir_sysconfig_singleton()->create_gr_fir_fsf (taps);
74 // --- info gatherers ---
78 gr_fir_util::get_gr_fir_ccf_info (std::vector<gr_fir_ccf_info> *info)
80 gr_fir_sysconfig_singleton()->get_gr_fir_ccf_info (info);
84 gr_fir_util::get_gr_fir_fcc_info (std::vector<gr_fir_fcc_info> *info)
86 gr_fir_sysconfig_singleton()->get_gr_fir_fcc_info (info);
90 gr_fir_util::get_gr_fir_ccc_info (std::vector<gr_fir_ccc_info> *info)
92 gr_fir_sysconfig_singleton()->get_gr_fir_ccc_info (info);
96 gr_fir_util::get_gr_fir_fff_info (std::vector<gr_fir_fff_info> *info)
98 gr_fir_sysconfig_singleton()->get_gr_fir_fff_info (info);
102 gr_fir_util::get_gr_fir_scc_info (std::vector<gr_fir_scc_info> *info)
104 gr_fir_sysconfig_singleton()->get_gr_fir_scc_info (info);
108 gr_fir_util::get_gr_fir_fsf_info (std::vector<gr_fir_fsf_info> *info)
110 gr_fir_sysconfig_singleton()->get_gr_fir_fsf_info (info);