From 9d56b9ba3b006e70f442001b54c66bcdb891a3b4 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan <jcorgan@corganenterprises.com> Date: Fri, 13 Apr 2012 23:04:06 -0700 Subject: wavelet: transition to namespace C++ API --- gr-wavelet/include/wavelet/wvps_ff.h | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 gr-wavelet/include/wavelet/wvps_ff.h (limited to 'gr-wavelet/include/wavelet/wvps_ff.h') diff --git a/gr-wavelet/include/wavelet/wvps_ff.h b/gr-wavelet/include/wavelet/wvps_ff.h new file mode 100644 index 0000000000..8b955db65f --- /dev/null +++ b/gr-wavelet/include/wavelet/wvps_ff.h @@ -0,0 +1,51 @@ +/* -*- c++ -*- */ +/* + * Copyright 2008,2012 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * GNU Radio is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3, or (at your option) + * any later version. + * + * GNU Radio is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Radio; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + */ + +#ifndef INCLUDED_WAVELET_WVPS_FF_H +#define INCLUDED_WAVELET_WVPS_FF_H + +#include <wavelet/api.h> +#include <gr_sync_decimator.h> + +class wavelet_wvps_ff; + +namespace gr { + namespace wavelet { + + class WAVELET_API wvps_ff : virtual public gr_sync_block + { + public: + + // gr::wavelet::wvps_ff::sptr + typedef boost::shared_ptr<wvps_ff> sptr; + + /*! + * \brief computes the Wavelet Power Spectrum from a set of wavelet coefficients + * \ingroup wavelet_blk + */ + static WAVELET_API sptr make(int ilen); + }; + + } /* namespace wavelet */ +} /* namespace gr */ + +#endif /* INCLUDED_WAVELET_WVPS_FF_H */ -- cgit v1.2.3