GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
gr::feval Class Reference

base class for evaluating a function: void -> voidThis 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 ()
 
virtual ~feval ()
 
virtual void calleval ()
 

Protected Member Functions

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

Detailed Description

base class for evaluating a function: void -> void

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::feval ( )
inline
virtual gr::feval::~feval ( )
virtual

Member Function Documentation

virtual void gr::feval::calleval ( )
virtual

Reimplemented in gr::py_feval.

virtual void gr::feval::eval ( )
protectedvirtual

override this to define the function


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