diff options
author | jcorgan | 2006-10-03 21:28:41 +0000 |
---|---|---|
committer | jcorgan | 2006-10-03 21:28:41 +0000 |
commit | 7627aff24f358831bdaa0d27a67443554a7a9a75 (patch) | |
tree | 499e26df90a62819065473549f65dfdbba2cd176 | |
parent | f26bb1c175f27d665f70e4dd62d1fd78a6d19b8a (diff) | |
download | gnuradio-7627aff24f358831bdaa0d27a67443554a7a9a75.tar.gz gnuradio-7627aff24f358831bdaa0d27a67443554a7a9a75.tar.bz2 gnuradio-7627aff24f358831bdaa0d27a67443554a7a9a75.zip |
Reversed changeset r2201, removing gr_feval_ff implementation.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3699 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r-- | gnuradio-core/src/lib/general/gr_feval.cc | 14 | ||||
-rw-r--r-- | gnuradio-core/src/lib/general/gr_feval.h | 21 |
2 files changed, 0 insertions, 35 deletions
diff --git a/gnuradio-core/src/lib/general/gr_feval.cc b/gnuradio-core/src/lib/general/gr_feval.cc index 16bb694ae..532a14018 100644 --- a/gnuradio-core/src/lib/general/gr_feval.cc +++ b/gnuradio-core/src/lib/general/gr_feval.cc @@ -34,14 +34,6 @@ gr_feval_dd::eval(double x) return 0; } -gr_feval_ff::~gr_feval_ff(){} - -float -gr_feval_ff::eval(float x) -{ - return 0; -} - gr_feval_cc::~gr_feval_cc(){} gr_complex @@ -67,12 +59,6 @@ gr_feval_dd_example(gr_feval_dd *f, double x) return f->eval(x); } -float -gr_feval_ff_example(gr_feval_ff *f, float x) -{ - return f->eval(x); -} - gr_complex gr_feval_cc_example(gr_feval_cc *f, gr_complex x) { diff --git a/gnuradio-core/src/lib/general/gr_feval.h b/gnuradio-core/src/lib/general/gr_feval.h index 51817230a..18bb4007e 100644 --- a/gnuradio-core/src/lib/general/gr_feval.h +++ b/gnuradio-core/src/lib/general/gr_feval.h @@ -45,26 +45,6 @@ public: }; /*! - * \brief base class for evaluating a function: float -> float - * - * This class is designed to be subclassed in Python or C++ - * and is callable from both places. It uses SWIG's - * "director" feature to implement the magic. - * It's slow. Don't use it in a performance critical path. - */ -class gr_feval_ff -{ -public: - gr_feval_ff() {} - virtual ~gr_feval_ff(); - - /*! - * \brief override this to define the function - */ - virtual float eval(float x); -}; - -/*! * \brief base class for evaluating a function: complex -> complex * * This class is designed to be subclassed in Python or C++ @@ -108,7 +88,6 @@ public: * \brief trivial examples / test cases showing C++ calling Python code */ double gr_feval_dd_example(gr_feval_dd *f, double x); -float gr_feval_ff_example(gr_feval_ff *f, float x); gr_complex gr_feval_cc_example(gr_feval_cc *f, gr_complex x); long gr_feval_ll_example(gr_feval_ll *f, long x); |