<!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_pwr_squelch_ff Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <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.2.2 C++ API</div> </td> </tr> </tbody> </table> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('classgr__pwr__squelch__ff.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <h1>gr_pwr_squelch_ff Class Reference<div class="ingroups"><a class="el" href="group__level__blk.html">Signal Level Control (AGC)</a></div></h1> </div> </div> <div class="contents"> <!-- doxytag: class="gr_pwr_squelch_ff" --><!-- doxytag: inherits="gr_squelch_base_ff" --> <p>gate or zero output when input power below threshold <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="gr__pwr__squelch__ff_8h_source.html">gr_pwr_squelch_ff.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gr_pwr_squelch_ff:</div> <div class="dyncontent"> <div class="center"><img src="classgr__pwr__squelch__ff__inherit__graph.png" border="0" usemap="#gr__pwr__squelch__ff_inherit__map" alt="Inheritance graph"/></div> <map name="gr__pwr__squelch__ff_inherit__map" id="gr__pwr__squelch__ff_inherit__map"> <area shape="rect" id="node2" href="classgr__squelch__base__ff.html" title="gr_squelch_base_ff" alt="" coords="5,160,139,189"/><area shape="rect" id="node4" href="classgr__block.html" title="The abstract base class for all 'terminal' processing blocks.A signal processing flow is cons..." alt="" coords="37,83,107,112"/><area shape="rect" id="node6" href="classgr__basic__block.html" title="The abstract base class for all signal processing blocks.Basic blocks are the bare abstraction of an ..." alt="" coords="17,5,127,35"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classgr__pwr__squelch__ff-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1vector.html">std::vector</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__pwr__squelch__ff.html#a21ef3df4e480010e2e92020a352ff441">squelch_range</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__pwr__squelch__ff.html#af5f62ebcd6e2cc4342e1f152454d3be0">threshold</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__pwr__squelch__ff.html#a89074b4a36fce15f322873de74cc5e84">set_threshold</a> (double db)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__pwr__squelch__ff.html#a16af7fef6ad197132e4fe5c52e153ab2">set_alpha</a> (double alpha)</td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> 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__pwr__squelch__ff.html#a30c140dc3446051aa19defcf0994a1f6">update_state</a> (const float &in)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__pwr__squelch__ff.html#aa624cf99e3b6c45b894524b0e3f00530">mute</a> () const </td></tr> <tr><td colspan="2"><h2><a name="friends"></a> Friends</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">gr_pwr_squelch_ff_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__pwr__squelch__ff.html#a46113fa274f5f8c9d1badcdaf44d3125">gr_make_pwr_squelch_ff</a> (double db, double alpha, int ramp, <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> gate)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>gate or zero output when input power below threshold </p> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aa624cf99e3b6c45b894524b0e3f00530"></a><!-- doxytag: member="gr_pwr_squelch_ff::mute" ref="aa624cf99e3b6c45b894524b0e3f00530" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> gr_pwr_squelch_ff::mute </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classgr__squelch__base__ff.html#aea375a4e3979b65149255ceed271e108">gr_squelch_base_ff</a>.</p> </div> </div> <a class="anchor" id="a16af7fef6ad197132e4fe5c52e153ab2"></a><!-- doxytag: member="gr_pwr_squelch_ff::set_alpha" ref="a16af7fef6ad197132e4fe5c52e153ab2" args="(double alpha)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gr_pwr_squelch_ff::set_alpha </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>alpha</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="classgr__single__pole__iir.html#af8f1dfca2e1492caf5ef10a6d01f7851">gr_single_pole_iir< o_type, i_type, tap_type >::set_taps()</a>.</p> </div> </div> <a class="anchor" id="a89074b4a36fce15f322873de74cc5e84"></a><!-- doxytag: member="gr_pwr_squelch_ff::set_threshold" ref="a89074b4a36fce15f322873de74cc5e84" args="(double db)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gr_pwr_squelch_ff::set_threshold </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>db</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a21ef3df4e480010e2e92020a352ff441"></a><!-- doxytag: member="gr_pwr_squelch_ff::squelch_range" ref="a21ef3df4e480010e2e92020a352ff441" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classstd_1_1vector.html">std::vector</a><float> gr_pwr_squelch_ff::squelch_range </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implements <a class="el" href="classgr__squelch__base__ff.html#a2e51b381d993274ec398cda51906a5e3">gr_squelch_base_ff</a>.</p> </div> </div> <a class="anchor" id="af5f62ebcd6e2cc4342e1f152454d3be0"></a><!-- doxytag: member="gr_pwr_squelch_ff::threshold" ref="af5f62ebcd6e2cc4342e1f152454d3be0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double gr_pwr_squelch_ff::threshold </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a30c140dc3446051aa19defcf0994a1f6"></a><!-- doxytag: member="gr_pwr_squelch_ff::update_state" ref="a30c140dc3446051aa19defcf0994a1f6" args="(const float &in)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void gr_pwr_squelch_ff::update_state </td> <td>(</td> <td class="paramtype">const float & </td> <td class="paramname"><em>in</em></td><td>)</td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classgr__squelch__base__ff.html#aa9108138b750f1ebbd8c6a09f5b47e00">gr_squelch_base_ff</a>.</p> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a46113fa274f5f8c9d1badcdaf44d3125"></a><!-- doxytag: member="gr_pwr_squelch_ff::gr_make_pwr_squelch_ff" ref="a46113fa274f5f8c9d1badcdaf44d3125" args="(double db, double alpha, int ramp, bool gate)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">gr_pwr_squelch_ff_sptr</a> gr_make_pwr_squelch_ff </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>db</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>alpha</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>ramp</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> </td> <td class="paramname"><em>gate</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [friend]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="gr__pwr__squelch__ff_8h_source.html">gr_pwr_squelch_ff.h</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="classgr__pwr__squelch__ff.html">gr_pwr_squelch_ff</a> </li> <li class="footer">Generated on Thu Feb 17 2011 for GNU Radio 3.2.2 C++ API by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li> </ul> </div> </body> </html>