diff options
author | andreas128 <Andreas> | 2017-01-22 00:51:47 +0000 |
---|---|---|
committer | andreas128 <Andreas> | 2017-01-22 00:51:47 +0000 |
commit | a88e67cb485d6b4b7bc21aa3c9dedbab37190cb9 (patch) | |
tree | 2158dc19cd17b72b7a96a602f59bdfb5951cd814 /gr-dpd/include/dpd/lut.h | |
parent | 62d6affd9fd9c5d45305cd5880c16696c0744044 (diff) | |
download | ODR-StaticPrecorrection-a88e67cb485d6b4b7bc21aa3c9dedbab37190cb9.tar.gz ODR-StaticPrecorrection-a88e67cb485d6b4b7bc21aa3c9dedbab37190cb9.tar.bz2 ODR-StaticPrecorrection-a88e67cb485d6b4b7bc21aa3c9dedbab37190cb9.zip |
am-am am-pm diagram in syncmeasurement.ipynb
Diffstat (limited to 'gr-dpd/include/dpd/lut.h')
-rw-r--r-- | gr-dpd/include/dpd/lut.h | 66 |
1 files changed, 66 insertions, 0 deletions
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 */ + |