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/wavelet_ff.h | 51 +++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 gr-wavelet/include/wavelet/wavelet_ff.h

(limited to 'gr-wavelet/include/wavelet/wavelet_ff.h')

diff --git a/gr-wavelet/include/wavelet/wavelet_ff.h b/gr-wavelet/include/wavelet/wavelet_ff.h
new file mode 100644
index 0000000000..71e959f88a
--- /dev/null
+++ b/gr-wavelet/include/wavelet/wavelet_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_WAVELET_FF_H
+#define INCLUDED_WAVELET_WAVELET_FF_H
+
+#include <wavelet/api.h>
+#include <gr_sync_block.h>
+
+namespace gr { 
+  namespace wavelet {
+
+    class WAVELET_API wavelet_ff : virtual public gr_sync_block
+    {
+    public:
+
+      // gr::wavelet::wavelet_ff:sptr
+      typedef boost::shared_ptr<wavelet_ff> sptr;
+
+      /*!
+       * \brief compute wavelet transform using gsl routines
+       * \ingroup wavelet_blk
+       */
+      static WAVELET_API sptr make(int size = 1024,
+				   int order = 20,
+				   bool forward = true);
+    };
+
+  } /* namespace wavelet */
+} /* namespace gr */
+
+#endif /* INCLUDED_WAVELET_WAVELET_FF_H */
-- 
cgit v1.2.3