GNU Radio 3.4.0 C++ API
|
base class template for Voltage Controlled Oscillator (VCO) More...
#include <gr_vco.h>
Public Member Functions | |
gr_vco () | |
virtual | ~gr_vco () |
void | set_phase (double angle) |
void | adjust_phase (double delta_phase) |
double | get_phase () const |
void | sincos (float *sinx, float *cosx) const |
float | cos () const |
float | sin () const |
void | cos (float *output, const float *input, int noutput_items, double k, double ampl=1.0) |
Protected Attributes | |
double | d_phase |
base class template for Voltage Controlled Oscillator (VCO)
virtual gr_vco< o_type, i_type >::~gr_vco | ( | ) | [inline, virtual] |
void gr_vco< o_type, i_type >::adjust_phase | ( | double | delta_phase | ) | [inline] |
References gr_vco< o_type, i_type >::d_phase.
float gr_vco< o_type, i_type >::cos | ( | ) | const [inline] |
References gr_vco< o_type, i_type >::d_phase.
void gr_vco< o_type, i_type >::cos | ( | float * | output, |
const float * | input, | ||
int | noutput_items, | ||
double | k, | ||
double | ampl = 1.0 |
||
) |
double gr_vco< o_type, i_type >::get_phase | ( | ) | const [inline] |
References gr_vco< o_type, i_type >::d_phase.
void gr_vco< o_type, i_type >::set_phase | ( | double | angle | ) | [inline] |
References gr_vco< o_type, i_type >::d_phase.
float gr_vco< o_type, i_type >::sin | ( | ) | const [inline] |
References gr_vco< o_type, i_type >::d_phase.
void gr_vco< o_type, i_type >::sincos | ( | float * | sinx, |
float * | cosx | ||
) | const |
References gr_sincosf().