24 #ifndef INCLUDED_DIGITAL_PFB_CLOCK_SYNC_CCF_H 25 #define INCLUDED_DIGITAL_PFB_CLOCK_SYNC_CCF_H 160 typedef boost::shared_ptr<pfb_clock_sync_ccf>
sptr;
173 static sptr make(
double sps,
float loop_bw,
174 const std::vector<float> &
taps,
175 unsigned int filter_size=32,
177 float max_rate_deviation=1.5,
187 virtual void update_gains() = 0;
192 virtual void update_taps(
const std::vector<float> &
taps) = 0;
201 virtual void set_taps(
const std::vector<float> &
taps,
202 std::vector< std::vector<float> > &ourtaps,
203 std::vector<gr::filter::kernel::fir_filter_ccf*> &ourfilter) = 0;
208 virtual std::vector< std::vector<float> >
taps()
const = 0;
213 virtual std::vector< std::vector<float> > diff_taps()
const = 0;
218 virtual std::vector<float> channel_taps(
int channel)
const = 0;
223 virtual std::vector<float> diff_channel_taps(
int channel)
const = 0;
228 virtual std::string taps_as_string()
const = 0;
233 virtual std::string diff_taps_as_string()
const = 0;
252 virtual void set_loop_bandwidth(
float bw) = 0;
267 virtual void set_damping_factor(
float df) = 0;
279 virtual void set_alpha(
float alpha) = 0;
291 virtual void set_beta(
float beta) = 0;
296 virtual void set_max_rate_deviation(
float m) = 0;
305 virtual float loop_bandwidth()
const = 0;
310 virtual float damping_factor()
const = 0;
315 virtual float alpha()
const = 0;
320 virtual float beta()
const = 0;
325 virtual float clock_rate()
const = 0;
330 virtual float error()
const = 0;
335 virtual float rate()
const = 0;
340 virtual float phase()
const = 0;
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:30
Timing synchronizer using polyphase filterbanks.
Definition: pfb_clock_sync_ccf.h:156
Include this header to use the message passing features.
Definition: logger.h:695
boost::shared_ptr< pfb_clock_sync_ccf > sptr
Definition: pfb_clock_sync_ccf.h:160
static const float taps[NSTEPS+1][NTAPS]
Definition: interpolator_taps.h:9
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:65