<!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: gri_fft_filter_ccc_generic 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>gri_fft_filter_ccc_generic Class Reference<br/> <small> [<a class="el" href="group__filter__blk.html">Filters</a>]</small> </h1><!-- doxytag: class="gri_fft_filter_ccc_generic" --> <p>Fast FFT filter with gr_complex input, gr_complex output and gr_complex taps. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="gri__fft__filter__ccc__generic_8h_source.html">gri_fft_filter_ccc_generic.h</a>></code></p> <p><a href="classgri__fft__filter__ccc__generic-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="classgri__fft__filter__ccc__generic.html#a3e78461224135ae9518c026655fa8c09">gri_fft_filter_ccc_generic</a> (int decimation, const <a class="el" href="classstd_1_1vector.html">std::vector</a>< <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> > &<a class="el" href="interpolator__taps_8h.html#a30bf032e13c2a9fc4a98e14e390cd65a">taps</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Construct an FFT filter for complex vectors with the given taps and decimation rate. <a href="#a3e78461224135ae9518c026655fa8c09"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgri__fft__filter__ccc__generic.html#a7c4ddd33cd0df2d521989bb1882d6129">~gri_fft_filter_ccc_generic</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgri__fft__filter__ccc__generic.html#a9449393637f02769e29fa85c6f3ef90d">set_taps</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>< <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> > &<a class="el" href="interpolator__taps_8h.html#a30bf032e13c2a9fc4a98e14e390cd65a">taps</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set new taps for the filter. <a href="#a9449393637f02769e29fa85c6f3ef90d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgri__fft__filter__ccc__generic.html#a4347433ec06b04a2fc0b0f90639c3fb9">filter</a> (int nitems, const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> *input, <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> *output)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Perform the filter operation. <a href="#a4347433ec06b04a2fc0b0f90639c3fb9"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Fast FFT filter with gr_complex input, gr_complex output and gr_complex taps. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a3e78461224135ae9518c026655fa8c09"></a><!-- doxytag: member="gri_fft_filter_ccc_generic::gri_fft_filter_ccc_generic" ref="a3e78461224135ae9518c026655fa8c09" args="(int decimation, const std::vector< gr_complex > &taps)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gri_fft_filter_ccc_generic::gri_fft_filter_ccc_generic </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>decimation</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> > & </td> <td class="paramname"> <em>taps</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Construct an FFT filter for complex vectors with the given taps and decimation rate. </p> <p>This is the basic implementation for performing FFT filter for fast convolution in other blocks for complex vectors (such as <a class="el" href="classgr__fft__filter__ccc.html" title="Fast FFT filter with gr_complex input, gr_complex output and gr_complex taps.">gr_fft_filter_ccc</a>). </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>decimation</em> </td><td>The decimation rate of the filter (int) </td></tr> <tr><td valign="top"></td><td valign="top"><em>taps</em> </td><td>The filter taps (complex) </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a7c4ddd33cd0df2d521989bb1882d6129"></a><!-- doxytag: member="gri_fft_filter_ccc_generic::~gri_fft_filter_ccc_generic" ref="a7c4ddd33cd0df2d521989bb1882d6129" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gri_fft_filter_ccc_generic::~gri_fft_filter_ccc_generic </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a4347433ec06b04a2fc0b0f90639c3fb9"></a><!-- doxytag: member="gri_fft_filter_ccc_generic::filter" ref="a4347433ec06b04a2fc0b0f90639c3fb9" args="(int nitems, const gr_complex *input, gr_complex *output)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int gri_fft_filter_ccc_generic::filter </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>nitems</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> * </td> <td class="paramname"> <em>input</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> * </td> <td class="paramname"> <em>output</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Perform the filter operation. </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>nitems</em> </td><td>The number of items to produce </td></tr> <tr><td valign="top"></td><td valign="top"><em>input</em> </td><td>The input vector to be filtered </td></tr> <tr><td valign="top"></td><td valign="top"><em>output</em> </td><td>The result of the filter operation </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a9449393637f02769e29fa85c6f3ef90d"></a><!-- doxytag: member="gri_fft_filter_ccc_generic::set_taps" ref="a9449393637f02769e29fa85c6f3ef90d" args="(const std::vector< gr_complex > &taps)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int gri_fft_filter_ccc_generic::set_taps </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> > & </td> <td class="paramname"> <em>taps</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Set new taps for the filter. </p> <p>Sets new taps and resets the class properties to handle different sizes </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>taps</em> </td><td>The filter taps (complex) </td></tr> </table> </dd> </dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="gri__fft__filter__ccc__generic_8h_source.html">gri_fft_filter_ccc_generic.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Dec 29 19:53:00 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>