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.
24 * WARNING: This file is automatically generated by generate_gr_fir_sysconfig.py
25 * Any changes made to this file will be overwritten.
28 #ifndef INCLUDED_GR_FIR_SYSCONFIG_H
29 #define INCLUDED_GR_FIR_SYSCONFIG_H
33 #include <gr_fir_util.h>
36 * \brief abstract base class for configuring the automatic selection of the
37 * fastest gr_fir for your platform.
39 * This is used internally by gr_fir_util.
42 class gr_fir_sysconfig {
44 virtual ~gr_fir_sysconfig ();
46 virtual gr_fir_ccf *create_gr_fir_ccf (const std::vector<float> &taps) = 0;
47 virtual gr_fir_fcc *create_gr_fir_fcc (const std::vector<gr_complex> &taps) = 0;
48 virtual gr_fir_ccc *create_gr_fir_ccc (const std::vector<gr_complex> &taps) = 0;
49 virtual gr_fir_fff *create_gr_fir_fff (const std::vector<float> &taps) = 0;
50 virtual gr_fir_scc *create_gr_fir_scc (const std::vector<gr_complex> &taps) = 0;
51 virtual gr_fir_fsf *create_gr_fir_fsf (const std::vector<float> &taps) = 0;
53 virtual void get_gr_fir_ccf_info (std::vector<gr_fir_ccf_info> *info) = 0;
54 virtual void get_gr_fir_fcc_info (std::vector<gr_fir_fcc_info> *info) = 0;
55 virtual void get_gr_fir_ccc_info (std::vector<gr_fir_ccc_info> *info) = 0;
56 virtual void get_gr_fir_fff_info (std::vector<gr_fir_fff_info> *info) = 0;
57 virtual void get_gr_fir_scc_info (std::vector<gr_fir_scc_info> *info) = 0;
58 virtual void get_gr_fir_fsf_info (std::vector<gr_fir_fsf_info> *info) = 0;
63 * This returns the single instance of the appropriate derived class.
64 * This function must be defined only once in the system, and should be defined
65 * in the platform specific code.
68 gr_fir_sysconfig *gr_fir_sysconfig_singleton ();
71 #endif /* INCLUDED_GR_FIR_SYSCONFIG_H */