<!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_channel_model 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_channel_model Class Reference<br/> <small> [<a class="el" href="group__misc__blk.html">Miscellaneous Blocks</a>]</small> </h1><!-- doxytag: class="gr_channel_model" --><!-- doxytag: inherits="gr_hier_block2" --> <p>channel simulator <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="gr__channel__model_8h_source.html">gr_channel_model.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gr_channel_model:</div> <div class="dynsection"> <div class="center"><img src="classgr__channel__model__inherit__graph.png" border="0" usemap="#gr__channel__model_inherit__map" alt="Inheritance graph"/></div> <map name="gr__channel__model_inherit__map" id="gr__channel__model_inherit__map"> <area shape="rect" id="node2" href="classgr__hier__block2.html" title="Hierarchical container class for gr_block's and gr_hier_block2's." alt="" coords="15,83,121,112"/><area shape="rect" id="node4" href="classgr__basic__block.html" title="The abstract base class for all signal processing blocks.Basic blocks are the bare..." alt="" coords="13,5,123,35"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classgr__channel__model-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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__channel__model.html#a812731f146be0dd7da21273c67a635ab">set_noise_voltage</a> (double noise_voltage)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__channel__model.html#a57a66ba76d99b506dc95d282784021fb">set_frequency_offset</a> (double frequency_offset)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__channel__model.html#a8a2408065e18e1251ece9b23f4dec33e">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="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__channel__model.html#a8383e4f44b9bcf4d567d89303e2cb0ad">set_timing_offset</a> (double epsilon)</td></tr> <tr><td colspan="2"><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">gr_channel_model_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__channel__model.html#a7624d677479553bd46bc0e0ca89c0269">gr_make_channel_model</a> (double noise_voltage, double frequency_offset, double epsilon, 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>, double noise_seed)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>channel simulator </p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a57a66ba76d99b506dc95d282784021fb"></a><!-- doxytag: member="gr_channel_model::set_frequency_offset" ref="a57a66ba76d99b506dc95d282784021fb" args="(double frequency_offset)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gr_channel_model::set_frequency_offset </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>frequency_offset</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a812731f146be0dd7da21273c67a635ab"></a><!-- doxytag: member="gr_channel_model::set_noise_voltage" ref="a812731f146be0dd7da21273c67a635ab" args="(double noise_voltage)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gr_channel_model::set_noise_voltage </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>noise_voltage</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a8a2408065e18e1251ece9b23f4dec33e"></a><!-- doxytag: member="gr_channel_model::set_taps" ref="a8a2408065e18e1251ece9b23f4dec33e" args="(const std::vector< gr_complex > &taps)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gr_channel_model::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"> </div> </div> <a class="anchor" id="a8383e4f44b9bcf4d567d89303e2cb0ad"></a><!-- doxytag: member="gr_channel_model::set_timing_offset" ref="a8383e4f44b9bcf4d567d89303e2cb0ad" args="(double epsilon)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gr_channel_model::set_timing_offset </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>epsilon</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a7624d677479553bd46bc0e0ca89c0269"></a><!-- doxytag: member="gr_channel_model::gr_make_channel_model" ref="a7624d677479553bd46bc0e0ca89c0269" args="(double noise_voltage, double frequency_offset, double epsilon, const std::vector< gr_complex > &taps, double noise_seed)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">gr_channel_model_sptr</a> gr_make_channel_model </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>noise_voltage</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>frequency_offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>epsilon</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> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>noise_seed</em></td><td> </td> </tr> <tr> <td></td> <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__channel__model_8h_source.html">gr_channel_model.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>