aboutsummaryrefslogtreecommitdiffstats
path: root/gr-dpd/include/dpd
diff options
context:
space:
mode:
Diffstat (limited to 'gr-dpd/include/dpd')
-rw-r--r--gr-dpd/include/dpd/CMakeLists.txt26
-rw-r--r--gr-dpd/include/dpd/api.h33
-rw-r--r--gr-dpd/include/dpd/memless_poly.h59
3 files changed, 118 insertions, 0 deletions
diff --git a/gr-dpd/include/dpd/CMakeLists.txt b/gr-dpd/include/dpd/CMakeLists.txt
new file mode 100644
index 0000000..700317c
--- /dev/null
+++ b/gr-dpd/include/dpd/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Copyright 2011,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.
+
+########################################################################
+# Install public header files
+########################################################################
+install(FILES
+ api.h
+ memless_poly.h DESTINATION include/dpd
+)
diff --git a/gr-dpd/include/dpd/api.h b/gr-dpd/include/dpd/api.h
new file mode 100644
index 0000000..1194eed
--- /dev/null
+++ b/gr-dpd/include/dpd/api.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2011 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_DPD_API_H
+#define INCLUDED_DPD_API_H
+
+#include <gnuradio/attributes.h>
+
+#ifdef gnuradio_dpd_EXPORTS
+# define DPD_API __GR_ATTR_EXPORT
+#else
+# define DPD_API __GR_ATTR_IMPORT
+#endif
+
+#endif /* INCLUDED_DPD_API_H */
diff --git a/gr-dpd/include/dpd/memless_poly.h b/gr-dpd/include/dpd/memless_poly.h
new file mode 100644
index 0000000..921a9df
--- /dev/null
+++ b/gr-dpd/include/dpd/memless_poly.h
@@ -0,0 +1,59 @@
+/* -*- 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_MEMLESS_POLY_H
+#define INCLUDED_DPD_MEMLESS_POLY_H
+
+#include <dpd/api.h>
+#include <gnuradio/block.h>
+
+namespace gr {
+ namespace dpd {
+
+ /*!
+ * \brief <+description of block+>
+ * \ingroup dpd
+ *
+ */
+ class DPD_API memless_poly : virtual public gr::block
+ {
+ public:
+ typedef boost::shared_ptr<memless_poly> sptr;
+
+ /*!
+ * \brief Return a shared_ptr to a new instance of dpd::memless_poly.
+ *
+ * To avoid accidental use of raw pointers, dpd::memless_poly's
+ * constructor is in a private implementation
+ * class. dpd::memless_poly::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_a2(float sens) = 0;
+
+ };
+
+ } // namespace dpd
+} // namespace gr
+
+#endif /* INCLUDED_DPD_MEMLESS_POLY_H */
+