GNU Radio 3.5.3.1 C++ API
gr_fir_sysconfig.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2003,2004 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
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 3, or (at your option)
10  * any later version.
11  *
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.
16  *
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.
21  */
22 
23 /*
24  * WARNING: This file is automatically generated by generate_gr_fir_sysconfig.py
25  * Any changes made to this file will be overwritten.
26  */
27 
28 #ifndef INCLUDED_GR_FIR_SYSCONFIG_H
29 #define INCLUDED_GR_FIR_SYSCONFIG_H
30 
31 #include <gr_types.h>
32 
33 #include <gr_fir_util.h>
34 
35 /*!
36  * \brief abstract base class for configuring the automatic selection of the
37  * fastest gr_fir for your platform.
38  *
39  * This is used internally by gr_fir_util.
40  */
41 
43 public:
44  virtual ~gr_fir_sysconfig ();
45 
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;
52 
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;
59 
60 };
61 
62 /*
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.
66  */
67 
69 
70 
71 #endif /* INCLUDED_GR_FIR_SYSCONFIG_H */