GNU Radio 3.5.1 C++ API
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. It's slow. Don't use it in a performance critical path. More...

#include <gr_feval.h>

List of all members.

Public Member Functions

 gr_feval ()
virtual ~gr_feval ()
virtual void calleval ()

Protected Member Functions

virtual void eval ()
 override this to define the function

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::gr_feval ( ) [inline]
virtual gr_feval::~gr_feval ( ) [virtual]

Member Function Documentation

virtual void gr_feval::calleval ( ) [virtual]
virtual void gr_feval::eval ( ) [protected, virtual]

override this to define the function


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