aboutsummaryrefslogtreecommitdiffstats
path: root/gr-dpd/include
diff options
context:
space:
mode:
Diffstat (limited to 'gr-dpd/include')
-rw-r--r--gr-dpd/include/dpd/CMakeLists.txt4
-rw-r--r--gr-dpd/include/dpd/lut.h66
2 files changed, 69 insertions, 1 deletions
diff --git a/gr-dpd/include/dpd/CMakeLists.txt b/gr-dpd/include/dpd/CMakeLists.txt
index 700317c..6598918 100644
--- a/gr-dpd/include/dpd/CMakeLists.txt
+++ b/gr-dpd/include/dpd/CMakeLists.txt
@@ -22,5 +22,7 @@
########################################################################
install(FILES
api.h
- memless_poly.h DESTINATION include/dpd
+ memless_poly.h
+ lut.h
+ clut.h DESTINATION include/dpd
)
diff --git a/gr-dpd/include/dpd/lut.h b/gr-dpd/include/dpd/lut.h
new file mode 100644
index 0000000..7bf568a
--- /dev/null
+++ b/gr-dpd/include/dpd/lut.h
@@ -0,0 +1,66 @@
+/* -*- c++ -*- */
+/*
+ * Copyright 2017 <+YOU OR YOUR COMPANY+>.
+ *
+ * This 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.
+ *
+ * This software 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 this software; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street,
+ * Boston, MA 02110-1301, USA.
+ */
+
+
+#ifndef INCLUDED_DPD_LUT_H
+#define INCLUDED_DPD_LUT_H
+
+#include <dpd/api.h>
+#include <gnuradio/block.h>
+
+namespace gr {
+ namespace dpd {
+
+ /*!
+ * \brief <+description of block+>
+ * \ingroup dpd
+ *
+ */
+ class DPD_API lut : virtual public gr::block
+ {
+ public:
+ typedef boost::shared_ptr<lut> sptr;
+
+ /*!
+ * \brief Return a shared_ptr to a new instance of dpd::lut.
+ *
+ * To avoid accidental use of raw pointers, dpd::lut's
+ * constructor is in a private implementation
+ * class. dpd::lut::make is the public interface for
+ * creating new instances.
+ */
+ static sptr make(float a1, float a2, float a3, float a4, float a5, float a6, float a7, float a8);
+
+ virtual void set_a1(float sens) = 0;
+ virtual void set_a2(float sens) = 0;
+ virtual void set_a3(float sens) = 0;
+ virtual void set_a4(float sens) = 0;
+ virtual void set_a5(float sens) = 0;
+ virtual void set_a6(float sens) = 0;
+ virtual void set_a7(float sens) = 0;
+ virtual void set_a8(float sens) = 0;
+
+ };
+
+ } // namespace dpd
+} // namespace gr
+
+#endif /* INCLUDED_DPD_LUT_H */
+