gr_feval_cc Class Reference

#include <gr_feval.h>

List of all members.


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.

Public Member Functions

 gr_feval_cc ()
virtual ~gr_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


Constructor & Destructor Documentation

gr_feval_cc::gr_feval_cc (  )  [inline]

gr_feval_cc::~gr_feval_cc (  )  [virtual]


Member Function Documentation

gr_complex gr_feval_cc::eval ( gr_complex  x  )  [protected, virtual]

override this to define the function

Referenced by calleval(), and SwigDirector_feval_cc::evalSwigPublic().

gr_complex gr_feval_cc::calleval ( gr_complex  x  )  [virtual]

References eval().

Referenced by gr_feval_cc_example().


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

Generated on Thu Mar 27 14:50:22 2008 for GNU Radio 3.1.1 by  doxygen 1.5.5