From a772bc16753dda15b8257fd2001ff273e44ca014 Mon Sep 17 00:00:00 2001 From: andreas128 Date: Sun, 8 Jan 2017 16:55:05 +0000 Subject: Add block for realtime memoryless polynom dpd --- gr-dpd/include/dpd/memless_poly.h | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 gr-dpd/include/dpd/memless_poly.h (limited to 'gr-dpd/include/dpd/memless_poly.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 +#include + +namespace gr { + namespace dpd { + + /*! + * \brief <+description of block+> + * \ingroup dpd + * + */ + class DPD_API memless_poly : virtual public gr::block + { + public: + typedef boost::shared_ptr 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 */ + -- cgit v1.2.3