GNU Radio Manual and C++ API Reference  3.8.1.0
The Free & Open Software Radio Ecosystem
gr::feval_ll Class Reference

base class for evaluating a function: long -> longThis 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>

Public Member Functions

 feval_ll ()
 
virtual ~feval_ll ()
 
virtual long calleval (long x)
 

Protected Member Functions

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

Detailed Description

base class for evaluating a function: long -> long

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

◆ feval_ll()

gr::feval_ll::feval_ll ( )
inline

◆ ~feval_ll()

virtual gr::feval_ll::~feval_ll ( )
virtual

Member Function Documentation

◆ calleval()

virtual long gr::feval_ll::calleval ( long  x)
virtual

Reimplemented in gr::py_feval_ll.

◆ eval()

virtual long gr::feval_ll::eval ( long  x)
protectedvirtual

override this to define the function


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