GNU Radio's CYBERRADIO Package
single_pole_iir_filter_ff_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2022 g3.
4 *
5 * SPDX-License-Identifier: GPL-3.0-or-later
6 */
7
8#ifndef INCLUDED_CYBERRADIO_SINGLE_POLE_IIR_FILTER_FF_IMPL_H
9#define INCLUDED_CYBERRADIO_SINGLE_POLE_IIR_FILTER_FF_IMPL_H
10
13#include <boost/bind/bind.hpp>
14
15namespace gr {
16 namespace CyberRadio {
17
19 {
20 private:
21 bool d_resetOnAlphaChange;
22 unsigned int d_vlen;
23 std::vector<single_pole_iir<float,float,double> > d_iir;
24 void rxResetMsg(pmt::pmt_t msg);
25
26 public:
27 single_pole_iir_filter_ff_impl(double alpha, unsigned int vlen, bool resetOnAlphaChange);
29
30 void set_taps(double alpha);
31 void reset(bool reset);
32
33 // Where all the action really happens
34 int work(
35 int noutput_items,
36 gr_vector_const_void_star &input_items,
37 gr_vector_void_star &output_items
38 );
39 };
40
41 } // namespace CyberRadio
42} // namespace gr
43
44#endif /* INCLUDED_CYBERRADIO_SINGLE_POLE_IIR_FILTER_FF_IMPL_H */
single_pole_iir_filter_ff_impl(double alpha, unsigned int vlen, bool resetOnAlphaChange)
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
<+description of block+>
Definition single_pole_iir_filter_ff.h:23
Provides programming elements for controlling the CyberRadio Solutions NDR651 radio.
Definition single_pole_iir.h:31
Provides programming elements for controlling CyberRadio Solutions products.
Definition single_pole_iir.h:30