<!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.2.2 C++ API: gr_fir_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.2 --> <div class="contents"> <h1>gr_fir_ccc_generic Class Reference</h1><!-- doxytag: class="gr_fir_ccc_generic" --><!-- doxytag: inherits="gr_fir_ccc" --> <p>Concrete class for generic implementation of FIR with gr_complex input, gr_complex output and gr_complex taps. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="gr__fir__ccc__generic_8h_source.html">gr_fir_ccc_generic.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gr_fir_ccc_generic:</div> <div class="dynsection"> <div class="center"><img src="classgr__fir__ccc__generic__inherit__graph.png" border="0" usemap="#gr__fir__ccc__generic_inherit__map" alt="Inheritance graph"/></div> <map name="gr__fir__ccc__generic_inherit__map" id="gr__fir__ccc__generic_inherit__map"> <area shape="rect" id="node5" href="classgr__fir__ccc__simd.html" title="common base class for SIMD versions of gr_fir_cccThis base class handles alignment..." alt="" coords="165,160,280,189"/><area shape="rect" id="node2" href="classgr__fir__ccc.html" title="Abstract class for FIR with gr_complex input, gr_complex output and gr_complex tapsThis..." alt="" coords="184,5,261,35"/><area shape="rect" id="node7" href="classgr__fir__ccc__3dnow.html" title="3DNow! version of gr_fir_ccc" alt="" coords="5,237,128,267"/><area shape="rect" id="node9" href="classgr__fir__ccc__3dnowext.html" title="gr_fir_ccc_3dnowext" alt="" coords="152,237,293,267"/><area shape="rect" id="node11" href="classgr__fir__ccc__sse.html" title="SSE version of gr_fir_ccc." alt="" coords="317,237,424,267"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classgr__fir__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="classgr__fir__ccc__generic.html#a925e8816783a21442a198df5643f1578">gr_fir_ccc_generic</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccc__generic.html#ac607650c5537125812ef111f203e5a72">gr_fir_ccc_generic</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="memItemLeft" align="right" valign="top">virtual <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccc__generic.html#aba03fdc72d47f0d2215f7c9f75ee69c3">filter</a> (const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> input[])</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">compute a single output value. <a href="#aba03fdc72d47f0d2215f7c9f75ee69c3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccc__generic.html#a541cfb6493f56d55ae2b9af60eef5377">filterN</a> (<a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> output[], const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> input[], unsigned long n)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">compute an array of N output values. <a href="#a541cfb6493f56d55ae2b9af60eef5377"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccc__generic.html#a1742581cae1640b627d402e89aea17c5">filterNdec</a> (<a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> output[], const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> input[], unsigned long n, unsigned decimate)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">compute an array of N output values, decimating the input <a href="#a1742581cae1640b627d402e89aea17c5"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Concrete class for generic implementation of FIR with gr_complex input, gr_complex output and gr_complex taps. </p> <p>The trailing suffix has the form _IOT where I codes the input type, O codes the output type, and T codes the tap type. I,O,T are elements of the set 's' (short), 'f' (float), 'c' (gr_complex), 'i' (int) </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a925e8816783a21442a198df5643f1578"></a><!-- doxytag: member="gr_fir_ccc_generic::gr_fir_ccc_generic" ref="a925e8816783a21442a198df5643f1578" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gr_fir_ccc_generic::gr_fir_ccc_generic </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="ac607650c5537125812ef111f203e5a72"></a><!-- doxytag: member="gr_fir_ccc_generic::gr_fir_ccc_generic" ref="ac607650c5537125812ef111f203e5a72" args="(const std::vector< gr_complex > &taps)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gr_fir_ccc_generic::gr_fir_ccc_generic </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><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aba03fdc72d47f0d2215f7c9f75ee69c3"></a><!-- doxytag: member="gr_fir_ccc_generic::filter" ref="aba03fdc72d47f0d2215f7c9f75ee69c3" args="(const gr_complex input[])" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> gr_fir_ccc_generic::filter </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> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>compute a single output value. </p> <p><code>input</code> must have <a class="el" href="classgr__fir__ccc.html#ae0b40699b1b84e3c2404ba9a9b2a7e83">ntaps()</a> valid entries. input[0] .. input[<a class="el" href="classgr__fir__ccc.html#ae0b40699b1b84e3c2404ba9a9b2a7e83">ntaps()</a> - 1] are referenced to compute the output value.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>the filtered input value. </dd></dl> <p>Implements <a class="el" href="classgr__fir__ccc.html#a95a6b5898d18a3cbcb7cc251a760e880">gr_fir_ccc</a>.</p> <p>Reimplemented in <a class="el" href="classgr__fir__ccc__simd.html#a17b2d74ca159e843bac053feabcc0ff0">gr_fir_ccc_simd</a>.</p> </div> </div> <a class="anchor" id="a541cfb6493f56d55ae2b9af60eef5377"></a><!-- doxytag: member="gr_fir_ccc_generic::filterN" ref="a541cfb6493f56d55ae2b9af60eef5377" args="(gr_complex output[], const gr_complex input[], unsigned long n)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void gr_fir_ccc_generic::filterN </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 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">unsigned long </td> <td class="paramname"> <em>n</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>compute an array of N output values. </p> <p><code>input</code> must have (n - 1 + <a class="el" href="classgr__fir__ccc.html#ae0b40699b1b84e3c2404ba9a9b2a7e83">ntaps()</a>) valid entries. input[0] .. input[n - 1 + <a class="el" href="classgr__fir__ccc.html#ae0b40699b1b84e3c2404ba9a9b2a7e83">ntaps()</a> - 1] are referenced to compute the output values. </p> <p>Implements <a class="el" href="classgr__fir__ccc.html#a6cdaf407ca693a87c540e2e85fa0b085">gr_fir_ccc</a>.</p> </div> </div> <a class="anchor" id="a1742581cae1640b627d402e89aea17c5"></a><!-- doxytag: member="gr_fir_ccc_generic::filterNdec" ref="a1742581cae1640b627d402e89aea17c5" args="(gr_complex output[], const gr_complex input[], unsigned long n, unsigned decimate)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void gr_fir_ccc_generic::filterNdec </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 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">unsigned long </td> <td class="paramname"> <em>n</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned </td> <td class="paramname"> <em>decimate</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>compute an array of N output values, decimating the input </p> <p><code>input</code> must have (decimate * (n - 1) + <a class="el" href="classgr__fir__ccc.html#ae0b40699b1b84e3c2404ba9a9b2a7e83">ntaps()</a>) valid entries. input[0] .. input[decimate * (n - 1) + <a class="el" href="classgr__fir__ccc.html#ae0b40699b1b84e3c2404ba9a9b2a7e83">ntaps()</a> - 1] are referenced to compute the output values. </p> <p>Implements <a class="el" href="classgr__fir__ccc.html#afd45fd2576244f5a2a636f6d26200f60">gr_fir_ccc</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="gr__fir__ccc__generic_8h_source.html">gr_fir_ccc_generic.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>