<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>GNU Radio 3.3.0 C++ API: gr_feval Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="contents"> <h1>gr_feval Class Reference<br/> <small> [<a class="el" href="group__misc.html">Miscellaneous</a>]</small> </h1><!-- doxytag: class="gr_feval" --> <p>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. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="gr__feval_8h_source.html">gr_feval.h</a>></code></p> <p><a href="classgr__feval-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__feval.html#a6e57706819b575cec89a01ab235b5705">gr_feval</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__feval.html#a164e56f9fe33907647b5d819e821f6f8">~gr_feval</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__feval.html#a4126a0f08351c23581fbef86300e40f4">calleval</a> ()</td></tr> <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__feval.html#a4b1d1b23d8c7d3726bc4be5210fcb993">eval</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">override this to define the function <a href="#a4b1d1b23d8c7d3726bc4be5210fcb993"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>base class for evaluating a function: void -> void</p> <p>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. </p> <p>Override eval to define the behavior. Use calleval to invoke eval (this kludge is required to allow a python specific "shim" to be inserted. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a6e57706819b575cec89a01ab235b5705"></a><!-- doxytag: member="gr_feval::gr_feval" ref="a6e57706819b575cec89a01ab235b5705" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gr_feval::gr_feval </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a164e56f9fe33907647b5d819e821f6f8"></a><!-- doxytag: member="gr_feval::~gr_feval" ref="a164e56f9fe33907647b5d819e821f6f8" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual gr_feval::~gr_feval </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a4126a0f08351c23581fbef86300e40f4"></a><!-- doxytag: member="gr_feval::calleval" ref="a4126a0f08351c23581fbef86300e40f4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void gr_feval::calleval </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a4b1d1b23d8c7d3726bc4be5210fcb993"></a><!-- doxytag: member="gr_feval::eval" ref="a4b1d1b23d8c7d3726bc4be5210fcb993" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void gr_feval::eval </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>override this to define the function </p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="gr__feval_8h_source.html">gr_feval.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Dec 29 19:52:42 2010 for GNU Radio 3.3.0 C++ API by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>