GNU Radio 3.6.4.1 C++ API
|
#include <pll_refout_cc_impl.h>
Public Member Functions | |
pll_refout_cc_impl (float loop_bw, float max_freq, float min_freq) | |
~pll_refout_cc_impl () | |
void | set_loop_bandwidth (float bw) |
void | set_damping_factor (float df) |
void | set_alpha (float alpha) |
void | set_beta (float beta) |
void | set_frequency (float freq) |
void | set_phase (float phase) |
void | set_min_freq (float freq) |
void | set_max_freq (float freq) |
float | get_loop_bandwidth () const |
float | get_damping_factor () const |
float | get_alpha () const |
float | get_beta () const |
float | get_frequency () const |
float | get_phase () const |
float | get_min_freq () const |
float | get_max_freq () const |
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
just like gr_block::general_work, only this arranges to call consume_each for you More... | |
![]() | |
gri_control_loop (float loop_bw, float max_freq, float min_freq) | |
virtual | ~gri_control_loop () |
void | update_gains () |
update the system gains from the loop bandwidth and damping factor More... | |
void | advance_loop (float error) |
update the system gains from the loop bandwidth and damping factor More... | |
void | phase_wrap () |
Keep the phase between -2pi and 2pi. More... | |
void | frequency_limit () |
Keep the frequency between d_min_freq and d_max_freq. More... | |
void | set_loop_bandwidth (float bw) |
Set the loop bandwidth. More... | |
void | set_damping_factor (float df) |
Set the loop damping factor. More... | |
void | set_alpha (float alpha) |
Set the loop gain alpha. More... | |
void | set_beta (float beta) |
Set the loop gain beta. More... | |
void | set_frequency (float freq) |
Set the control loop's frequency. More... | |
void | set_phase (float phase) |
Set the control loop's phase. More... | |
void | set_max_freq (float freq) |
Set the control loop's maximum frequency. More... | |
void | set_min_freq (float freq) |
Set the control loop's minimum frequency. More... | |
float | get_loop_bandwidth () const |
Returns the loop bandwidth. More... | |
float | get_damping_factor () const |
Returns the loop damping factor. More... | |
float | get_alpha () const |
Returns the loop gain alpha. More... | |
float | get_beta () const |
Returns the loop gain beta. More... | |
float | get_frequency () const |
Get the control loop's frequency estimate. More... | |
float | get_phase () const |
Get the control loop's phase estimate. More... | |
float | get_max_freq () const |
Get the control loop's maximum frequency. More... | |
float | get_min_freq () const |
Get the control loop's minimum frequency. More... | |
Additional Inherited Members | |
![]() | |
typedef boost::shared_ptr < pll_refout_cc > | sptr |
![]() | |
static sptr | make (float loop_bw, float max_freq, float min_freq) |
![]() | |
enum | vcolor { WHITE, GREY, BLACK } |
![]() | |
gr_sync_block (void) | |
gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature) | |
![]() | |
std::vector< long > | d_max_output_buffer |
std::vector< long > | d_min_output_buffer |
gruel::mutex | d_setlock |
![]() | |
float | d_phase |
float | d_freq |
float | d_max_freq |
float | d_min_freq |
float | d_damping |
float | d_loop_bw |
float | d_alpha |
float | d_beta |
gr::analog::pll_refout_cc_impl::pll_refout_cc_impl | ( | float | loop_bw, |
float | max_freq, | ||
float | min_freq | ||
) |
gr::analog::pll_refout_cc_impl::~pll_refout_cc_impl | ( | ) |
float gr::analog::pll_refout_cc_impl::get_alpha | ( | ) | const |
float gr::analog::pll_refout_cc_impl::get_beta | ( | ) | const |
float gr::analog::pll_refout_cc_impl::get_damping_factor | ( | ) | const |
float gr::analog::pll_refout_cc_impl::get_frequency | ( | ) | const |
float gr::analog::pll_refout_cc_impl::get_loop_bandwidth | ( | ) | const |
float gr::analog::pll_refout_cc_impl::get_max_freq | ( | ) | const |
float gr::analog::pll_refout_cc_impl::get_min_freq | ( | ) | const |
float gr::analog::pll_refout_cc_impl::get_phase | ( | ) | const |
void gr::analog::pll_refout_cc_impl::set_alpha | ( | float | alpha | ) |
void gr::analog::pll_refout_cc_impl::set_beta | ( | float | beta | ) |
void gr::analog::pll_refout_cc_impl::set_damping_factor | ( | float | df | ) |
void gr::analog::pll_refout_cc_impl::set_frequency | ( | float | freq | ) |
void gr::analog::pll_refout_cc_impl::set_loop_bandwidth | ( | float | bw | ) |
void gr::analog::pll_refout_cc_impl::set_max_freq | ( | float | freq | ) |
void gr::analog::pll_refout_cc_impl::set_min_freq | ( | float | freq | ) |
void gr::analog::pll_refout_cc_impl::set_phase | ( | float | phase | ) |
|
virtual |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.