summaryrefslogtreecommitdiff
path: root/gr-wavelet/include/wavelet/wavelet_squash_ff.h
diff options
context:
space:
mode:
authorJohnathan Corgan2012-04-01 16:18:40 -0700
committerJohnathan Corgan2012-04-01 16:18:40 -0700
commit269691c7d45675382bafbdf8a56f0682f1927fd9 (patch)
tree960bee8b4e0ee2434cdf7be21cb0946e0bdcf8d2 /gr-wavelet/include/wavelet/wavelet_squash_ff.h
parentf9b73b1710f19529b99f8f69c8e3a06839ad68bc (diff)
downloadgnuradio-269691c7d45675382bafbdf8a56f0682f1927fd9.tar.gz
gnuradio-269691c7d45675382bafbdf8a56f0682f1927fd9.tar.bz2
gnuradio-269691c7d45675382bafbdf8a56f0682f1927fd9.zip
wavelet: converted blocks to private implementation pattern
Diffstat (limited to 'gr-wavelet/include/wavelet/wavelet_squash_ff.h')
-rw-r--r--gr-wavelet/include/wavelet/wavelet_squash_ff.h33
1 files changed, 5 insertions, 28 deletions
diff --git a/gr-wavelet/include/wavelet/wavelet_squash_ff.h b/gr-wavelet/include/wavelet/wavelet_squash_ff.h
index 99ecf93ca..c79f513c6 100644
--- a/gr-wavelet/include/wavelet/wavelet_squash_ff.h
+++ b/gr-wavelet/include/wavelet/wavelet_squash_ff.h
@@ -20,49 +20,26 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef INCLUDED_WAVELET_SQUASH_FF_H_
-# define INCLUDED_WAVELET_SQUASH_FF_H_
+#ifndef INCLUDED_WAVELET_SQUASH_FF_H
+#define INCLUDED_WAVELET_SQUASH_FF_H
#include <wavelet_api.h>
#include <gr_sync_block.h>
-#include <gsl/gsl_errno.h>
-#include <gsl/gsl_interp.h>
-#include <gsl/gsl_spline.h>
+
/*!
* \brief implements cheap resampling of spectrum directly from
* spectral points, using gsl interpolation
* \ingroup misc
*/
-
class wavelet_squash_ff;
typedef boost::shared_ptr<wavelet_squash_ff> wavelet_squash_ff_sptr;
WAVELET_API wavelet_squash_ff_sptr wavelet_make_squash_ff(const std::vector<float> &igrid,
const std::vector<float> &ogrid);
-class WAVELET_API wavelet_squash_ff : public gr_sync_block
+class WAVELET_API wavelet_squash_ff : virtual public gr_sync_block
{
- friend WAVELET_API wavelet_squash_ff_sptr wavelet_make_squash_ff(const std::vector<float> &igrid,
- const std::vector<float> &ogrid);
-
- size_t d_inum;
- size_t d_onum;
- double *d_igrid;
- double *d_iwork;
- double *d_ogrid;
-
- gsl_interp_accel *d_accel;
- gsl_spline *d_spline;
-
- wavelet_squash_ff(const std::vector<float> &igrid,
- const std::vector<float> &ogrid);
-
- public:
- ~wavelet_squash_ff();
-
- int work(int noutput_items,
- gr_vector_const_void_star &input_items,
- gr_vector_void_star &output_items);
+ // No public API methods visible
};
#endif