23 #ifndef INCLUDED_GR_PLL_CARRIERTRACKING_CC_H
24 #define INCLUDED_GR_PLL_CARRIERTRACKING_CC_H
58 float d_locksig,d_lock_threshold;
59 bool d_squelch_enable;
62 int work (
int noutput_items,
63 gr_vector_const_void_star &input_items,
64 gr_vector_void_star &output_items);
66 float mod_2pi (
float in);
67 float phase_detector(
gr_complex sample,
float ref_phase);
69 bool lock_detector(
void);
70 bool squelch_enable(
bool);
71 float set_lock_threshold(
float);
Definition: gri_control_loop.h:28
Definition: gr_sync_block.h:27
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
#define GR_CORE_API
Definition: gr_core_api.h:30
std::complex< float > gr_complex
Definition: gr_complex.h:26
Implements a PLL which locks to the input frequency and outputs the input signal mixed with that carr...
Definition: gr_pll_carriertracking_cc.h:52
GR_CORE_API gr_pll_carriertracking_cc_sptr gr_make_pll_carriertracking_cc(float loop_bw, float max_freq, float min_freq)
virtual 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 ...