base class template for Numerically Controlled Oscillator (NCO) More...
#include <gnuradio/nco.h>
Public Member Functions | |
| nco () | |
| virtual | ~nco () |
| void | set_phase (double angle) |
| void | adjust_phase (double delta_phase) |
| void | set_freq (double angle_rate) |
| void | adjust_freq (double delta_angle_rate) |
| void | step (int n=1) |
| double | get_phase () const |
| double | get_freq () const |
| void | sincos (float *sinx, float *cosx) const |
| float | cos () const |
| float | sin () const |
| void | sin (float *output, int noutput_items, double ampl=1.0) |
| void | cos (float *output, int noutput_items, double ampl=1.0) |
| void | sincos (gr_complex *output, int noutput_items, double ampl=1.0) |
| void | sin (short *output, int noutput_items, double ampl=1.0) |
| void | cos (short *output, int noutput_items, double ampl=1.0) |
| void | sin (int *output, int noutput_items, double ampl=1.0) |
| void | cos (int *output, int noutput_items, double ampl=1.0) |
Protected Attributes | |
| double | phase |
| double | phase_inc |
base class template for Numerically Controlled Oscillator (NCO)
|
inline |
|
inline |
References phase_inc.
|
inline |
References phase.
|
inline |
| void gr::nco< o_type, i_type >::cos | ( | float * | output, |
| int | noutput_items, | ||
| double | ampl = 1.0 ) |
| void gr::nco< o_type, i_type >::cos | ( | int * | output, |
| int | noutput_items, | ||
| double | ampl = 1.0 ) |
| void gr::nco< o_type, i_type >::cos | ( | short * | output, |
| int | noutput_items, | ||
| double | ampl = 1.0 ) |
|
inline |
References phase_inc.
|
inline |
References phase.
|
inline |
References phase_inc.
|
inline |
References phase.
|
inline |
| void gr::nco< o_type, i_type >::sin | ( | float * | output, |
| int | noutput_items, | ||
| double | ampl = 1.0 ) |
| void gr::nco< o_type, i_type >::sin | ( | int * | output, |
| int | noutput_items, | ||
| double | ampl = 1.0 ) |
| void gr::nco< o_type, i_type >::sin | ( | short * | output, |
| int | noutput_items, | ||
| double | ampl = 1.0 ) |
|
inline |
References phase, and gr::sincosf().
Referenced by sincos().
| void gr::nco< o_type, i_type >::sincos | ( | gr_complex * | output, |
| int | noutput_items, | ||
| double | ampl = 1.0 ) |
|
inline |
|
protected |
Referenced by adjust_phase(), cos(), get_phase(), nco(), set_phase(), sin(), sincos(), and step().
|
protected |
Referenced by adjust_freq(), get_freq(), nco(), set_freq(), and step().