<!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_vco< o_type, i_type > Class Template 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_vco< o_type, i_type > Class Template Reference<br/> <small> [<a class="el" href="group__misc.html">Miscellaneous</a>]</small> </h1><!-- doxytag: class="gr_vco" --> <p>base class template for Voltage Controlled Oscillator (VCO) <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="gr__vco_8h_source.html">gr_vco.h</a>></code></p> <p><a href="classgr__vco-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__vco.html#a9cf6ab94f646564983f350a69baa8e53">gr_vco</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__vco.html#ac44432708e327dde927a5eed71cea7e5">~gr_vco</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__vco.html#ac0f4048f34ed88f1c32e16a1c5d89f12">set_phase</a> (double angle)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__vco.html#a9369c68b68aa73498cd23d74cdfc5f99">adjust_phase</a> (double delta_phase)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__vco.html#a38f19c7a8f164c011041a18e242112d8">get_phase</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__vco.html#a8fa1bae038a73276062fdae2b92fff89">sincos</a> (float *sinx, float *cosx) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__vco.html#a58b8420209f0c315278e5d5feaefa5fa">cos</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__vco.html#a2458956261a471194fcfa3594848bb3f">sin</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__vco.html#a2a686b0a311611167414e7747a67cabf">cos</a> (float *output, const float *input, int noutput_items, double k, double ampl=1.0)</td></tr> <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__vco.html#a0d1b9fc482a8c6d701c0382b799fe11a">d_phase</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class o_type, class i_type><br/> class gr_vco< o_type, i_type ></h3> <p>base class template for Voltage Controlled Oscillator (VCO) </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a9cf6ab94f646564983f350a69baa8e53"></a><!-- doxytag: member="gr_vco::gr_vco" ref="a9cf6ab94f646564983f350a69baa8e53" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class o_type , class i_type > </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classgr__vco.html">gr_vco</a>< o_type, i_type >::<a class="el" href="classgr__vco.html">gr_vco</a> </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="ac44432708e327dde927a5eed71cea7e5"></a><!-- doxytag: member="gr_vco::~gr_vco" ref="ac44432708e327dde927a5eed71cea7e5" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class o_type , class i_type > </div> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classgr__vco.html">gr_vco</a>< o_type, i_type >::~<a class="el" href="classgr__vco.html">gr_vco</a> </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a9369c68b68aa73498cd23d74cdfc5f99"></a><!-- doxytag: member="gr_vco::adjust_phase" ref="a9369c68b68aa73498cd23d74cdfc5f99" args="(double delta_phase)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class o_type , class i_type > </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classgr__vco.html">gr_vco</a>< o_type, i_type >::adjust_phase </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>delta_phase</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="gr__vco_8h_source.html#l00075">gr_vco< o_type, i_type >::d_phase</a>.</p> <p>Referenced by <a class="el" href="gr__vco_8h_source.html#l00087">gr_vco< o_type, i_type >::cos()</a>.</p> </div> </div> <a class="anchor" id="a2a686b0a311611167414e7747a67cabf"></a><!-- doxytag: member="gr_vco::cos" ref="a2a686b0a311611167414e7747a67cabf" args="(float *output, const float *input, int noutput_items, double k, double ampl=1.0)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class o_type , class i_type > </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classgr__vco.html">gr_vco</a>< o_type, i_type >::cos </td> <td>(</td> <td class="paramtype">float * </td> <td class="paramname"> <em>output</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const float * </td> <td class="paramname"> <em>input</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>noutput_items</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>k</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>ampl</em> = <code>1.0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="gr__vco_8h_source.html#l00050">gr_vco< o_type, i_type >::adjust_phase()</a>, and <a class="el" href="gr__vco_8h_source.html#l00068">gr_vco< o_type, i_type >::cos()</a>.</p> </div> </div> <a class="anchor" id="a58b8420209f0c315278e5d5feaefa5fa"></a><!-- doxytag: member="gr_vco::cos" ref="a58b8420209f0c315278e5d5feaefa5fa" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class o_type , class i_type > </div> <table class="memname"> <tr> <td class="memname">float <a class="el" href="classgr__vco.html">gr_vco</a>< o_type, i_type >::cos </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="gr__vco_8h_source.html#l00075">gr_vco< o_type, i_type >::d_phase</a>.</p> <p>Referenced by <a class="el" href="gr__vco_8h_source.html#l00087">gr_vco< o_type, i_type >::cos()</a>.</p> </div> </div> <a class="anchor" id="a38f19c7a8f164c011041a18e242112d8"></a><!-- doxytag: member="gr_vco::get_phase" ref="a38f19c7a8f164c011041a18e242112d8" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class o_type , class i_type > </div> <table class="memname"> <tr> <td class="memname">double <a class="el" href="classgr__vco.html">gr_vco</a>< o_type, i_type >::get_phase </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="gr__vco_8h_source.html#l00075">gr_vco< o_type, i_type >::d_phase</a>.</p> </div> </div> <a class="anchor" id="ac0f4048f34ed88f1c32e16a1c5d89f12"></a><!-- doxytag: member="gr_vco::set_phase" ref="ac0f4048f34ed88f1c32e16a1c5d89f12" args="(double angle)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class o_type , class i_type > </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classgr__vco.html">gr_vco</a>< o_type, i_type >::set_phase </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>angle</em></td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="gr__vco_8h_source.html#l00075">gr_vco< o_type, i_type >::d_phase</a>.</p> </div> </div> <a class="anchor" id="a2458956261a471194fcfa3594848bb3f"></a><!-- doxytag: member="gr_vco::sin" ref="a2458956261a471194fcfa3594848bb3f" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class o_type , class i_type > </div> <table class="memname"> <tr> <td class="memname">float <a class="el" href="classgr__vco.html">gr_vco</a>< o_type, i_type >::sin </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="gr__vco_8h_source.html#l00075">gr_vco< o_type, i_type >::d_phase</a>.</p> </div> </div> <a class="anchor" id="a8fa1bae038a73276062fdae2b92fff89"></a><!-- doxytag: member="gr_vco::sincos" ref="a8fa1bae038a73276062fdae2b92fff89" args="(float *sinx, float *cosx) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class o_type , class i_type > </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classgr__vco.html">gr_vco</a>< o_type, i_type >::sincos </td> <td>(</td> <td class="paramtype">float * </td> <td class="paramname"> <em>sinx</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float * </td> <td class="paramname"> <em>cosx</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>References <a class="el" href="gr__vco_8h_source.html#l00075">gr_vco< o_type, i_type >::d_phase</a>, and <a class="el" href="gr__sincos_8h.html#a1233daa4d05a54c9ce6de62039ca4ddc">gr_sincosf()</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a0d1b9fc482a8c6d701c0382b799fe11a"></a><!-- doxytag: member="gr_vco::d_phase" ref="a0d1b9fc482a8c6d701c0382b799fe11a" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class o_type , class i_type > </div> <table class="memname"> <tr> <td class="memname">double <a class="el" href="classgr__vco.html">gr_vco</a>< o_type, i_type >::<a class="el" href="classgr__vco.html#a0d1b9fc482a8c6d701c0382b799fe11a">d_phase</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Referenced by <a class="el" href="gr__vco_8h_source.html#l00050">gr_vco< o_type, i_type >::adjust_phase()</a>, <a class="el" href="gr__vco_8h_source.html#l00068">gr_vco< o_type, i_type >::cos()</a>, <a class="el" href="gr__vco_8h_source.html#l00062">gr_vco< o_type, i_type >::get_phase()</a>, <a class="el" href="gr__vco_8h_source.html#l00046">gr_vco< o_type, i_type >::set_phase()</a>, <a class="el" href="gr__vco_8h_source.html#l00069">gr_vco< o_type, i_type >::sin()</a>, and <a class="el" href="gr__vco_8h_source.html#l00080">gr_vco< o_type, i_type >::sincos()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="gr__vco_8h_source.html">gr_vco.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>