GNU Radio 3.7.3 C++ API
gr::feval_cc Class Reference

base class for evaluating a function: complex -> complexThis 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. More...

#include <gnuradio/feval.h>

Inheritance diagram for gr::feval_cc:

Public Member Functions

 feval_cc ()
 
virtual ~feval_cc ()
 
virtual gr_complex calleval (gr_complex x)
 

Protected Member Functions

virtual gr_complex eval (gr_complex x)
 override this to define the function More...
 

Detailed Description

base class for evaluating a function: complex -> complex

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.

Override eval to define the behavior. Use calleval to invoke eval (this kludge is required to allow a python specific "shim" to be inserted.

Constructor & Destructor Documentation

gr::feval_cc::feval_cc ( )
inline
virtual gr::feval_cc::~feval_cc ( )
virtual

Member Function Documentation

virtual gr_complex gr::feval_cc::calleval ( gr_complex  x)
virtual

Reimplemented in gr::py_feval_cc.

virtual gr_complex gr::feval_cc::eval ( gr_complex  x)
protectedvirtual

override this to define the function


The documentation for this class was generated from the following file: