<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3"/> <title>GNU Radio 3.6.4.1 C++ API: gri_fft_filter_ccc_generic Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">GNU Radio 3.6.4.1 C++ API </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3 --> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('classgri__fft__filter__ccc__generic.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classgri__fft__filter__ccc__generic-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">gri_fft_filter_ccc_generic Class Reference<div class="ingroups"><a class="el" href="group__filter__blk.html">Filters</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Fast FFT filter with gr_complex input, gr_complex output and gr_complex taps. <a href="classgri__fft__filter__ccc__generic.html#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> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:af2e0f6c4850c41d3159e3e427eb2fd71"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgri__fft__filter__ccc__generic.html#af2e0f6c4850c41d3159e3e427eb2fd71">gri_fft_filter_ccc_generic</a> (int decimation, const std::vector< <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> > &<a class="el" href="gr-filter_2include_2filter_2interpolator__taps_8h.html#a30bf032e13c2a9fc4a98e14e390cd65a">taps</a>, int <a class="el" href="classgri__fft__filter__ccc__generic.html#a4aa133a9583ef55dc470be25959a79fb">nthreads</a>=1)</td></tr> <tr class="memdesc:af2e0f6c4850c41d3159e3e427eb2fd71"><td class="mdescLeft"> </td><td class="mdescRight">Construct an FFT filter for complex vectors with the given taps and decimation rate. <a href="#af2e0f6c4850c41d3159e3e427eb2fd71"></a><br/></td></tr> <tr class="separator:af2e0f6c4850c41d3159e3e427eb2fd71"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7c4ddd33cd0df2d521989bb1882d6129"><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 class="separator:a7c4ddd33cd0df2d521989bb1882d6129"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9449393637f02769e29fa85c6f3ef90d"><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 std::vector< <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> > &<a class="el" href="gr-filter_2include_2filter_2interpolator__taps_8h.html#a30bf032e13c2a9fc4a98e14e390cd65a">taps</a>)</td></tr> <tr class="memdesc:a9449393637f02769e29fa85c6f3ef90d"><td class="mdescLeft"> </td><td class="mdescRight">Set new taps for the filter. <a href="#a9449393637f02769e29fa85c6f3ef90d"></a><br/></td></tr> <tr class="separator:a9449393637f02769e29fa85c6f3ef90d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a39b4317c456d90c8e9f94b6ee3edfc17"><td class="memItemLeft" align="right" valign="top"><a class="el" href="volk_8tmpl_8h.html#a8dc2b7da310a28e667530ba0e8ca4cc4">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgri__fft__filter__ccc__generic.html#a39b4317c456d90c8e9f94b6ee3edfc17">set_nthreads</a> (int n)</td></tr> <tr class="memdesc:a39b4317c456d90c8e9f94b6ee3edfc17"><td class="mdescLeft"> </td><td class="mdescRight">Set number of threads to use. <a href="#a39b4317c456d90c8e9f94b6ee3edfc17"></a><br/></td></tr> <tr class="separator:a39b4317c456d90c8e9f94b6ee3edfc17"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4aa133a9583ef55dc470be25959a79fb"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classgri__fft__filter__ccc__generic.html#a4aa133a9583ef55dc470be25959a79fb">nthreads</a> () const </td></tr> <tr class="memdesc:a4aa133a9583ef55dc470be25959a79fb"><td class="mdescLeft"> </td><td class="mdescRight">Get number of threads being used. <a href="#a4aa133a9583ef55dc470be25959a79fb"></a><br/></td></tr> <tr class="separator:a4aa133a9583ef55dc470be25959a79fb"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4347433ec06b04a2fc0b0f90639c3fb9"><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 class="memdesc:a4347433ec06b04a2fc0b0f90639c3fb9"><td class="mdescLeft"> </td><td class="mdescRight">Perform the filter operation. <a href="#a4347433ec06b04a2fc0b0f90639c3fb9"></a><br/></td></tr> <tr class="separator:a4347433ec06b04a2fc0b0f90639c3fb9"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Fast FFT filter with gr_complex input, gr_complex output and gr_complex taps. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="af2e0f6c4850c41d3159e3e427eb2fd71"></a> <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 std::vector< <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> > & </td> <td class="paramname"><em>taps</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>nthreads</em> = <code>1</code> </td> </tr> <tr> <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">decimation</td><td>The decimation rate of the filter (int) </td></tr> <tr><td class="paramname">taps</td><td>The filter taps (complex) </td></tr> <tr><td class="paramname">nthreads</td><td>The number of threads for the FFT to use (int) </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a7c4ddd33cd0df2d521989bb1882d6129"></a> <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> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a4347433ec06b04a2fc0b0f90639c3fb9"></a> <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> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Perform the filter operation. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">nitems</td><td>The number of items to produce </td></tr> <tr><td class="paramname">input</td><td>The input vector to be filtered </td></tr> <tr><td class="paramname">output</td><td>The result of the filter operation </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a4aa133a9583ef55dc470be25959a79fb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int gri_fft_filter_ccc_generic::nthreads </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get number of threads being used. </p> </div> </div> <a class="anchor" id="a39b4317c456d90c8e9f94b6ee3edfc17"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="volk_8tmpl_8h.html#a8dc2b7da310a28e667530ba0e8ca4cc4">void</a> gri_fft_filter_ccc_generic::set_nthreads </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>n</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set number of threads to use. </p> </div> </div> <a class="anchor" id="a9449393637f02769e29fa85c6f3ef90d"></a> <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 std::vector< <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">taps</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><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="classgri__fft__filter__ccc__generic.html">gri_fft_filter_ccc_generic</a></li> <li class="footer">Generated on Fri Apr 19 2013 16:20:39 for GNU Radio 3.6.4.1 C++ API by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3 </li> </ul> </div> </body> </html>