summaryrefslogtreecommitdiff
path: root/gr-wavelet/include/wavelet/wvps_ff.h
diff options
context:
space:
mode:
authorJohnathan Corgan <jcorgan@corganenterprises.com>2012-04-13 23:04:06 -0700
committerJohnathan Corgan <jcorgan@corganenterprises.com>2012-04-21 13:20:39 -0700
commit9d56b9ba3b006e70f442001b54c66bcdb891a3b4 (patch)
tree2ca3379f5e5b714e16a363f07db7553559df7d7e /gr-wavelet/include/wavelet/wvps_ff.h
parente717c7caeb04047c502f1447b0ea8be3dc4e8579 (diff)
wavelet: transition to namespace C++ API
Diffstat (limited to 'gr-wavelet/include/wavelet/wvps_ff.h')
-rw-r--r--gr-wavelet/include/wavelet/wvps_ff.h51
1 files changed, 51 insertions, 0 deletions
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 */