GNU Radio 3.6.5 C++ API
|
base class for evaluating a function: pmt -> 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>
Public Member Functions | |
gr_feval_p () | |
virtual | ~gr_feval_p () |
virtual void | calleval (pmt::pmt_t x) |
Protected Member Functions | |
virtual void | eval (pmt::pmt_t x) |
override this to define the function |
base class for evaluating a function: pmt -> 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.
gr_feval_p::gr_feval_p | ( | ) | [inline] |
virtual gr_feval_p::~gr_feval_p | ( | ) | [virtual] |
virtual void gr_feval_p::calleval | ( | pmt::pmt_t | x | ) | [virtual] |
virtual void gr_feval_p::eval | ( | pmt::pmt_t | x | ) | [protected, virtual] |
override this to define the function