2019-09-09 14:04:06 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
|
|
|
|
#ifndef _LIB_FILTER_UPDATE_HPP_
|
|
|
|
#define _LIB_FILTER_UPDATE_HPP_
|
|
|
|
|
2019-09-09 15:41:20 +00:00
|
|
|
#include <map>
|
2019-09-09 14:04:06 +00:00
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include <boost/noncopyable.hpp>
|
|
|
|
#include <gnuradio/gr_complex.h>
|
|
|
|
|
|
|
|
namespace gr {
|
|
|
|
namespace digitalhf {
|
|
|
|
|
|
|
|
class filter_update : private boost::noncopyable {
|
|
|
|
public:
|
|
|
|
typedef std::unique_ptr<filter_update> sptr;
|
2019-10-27 21:48:09 +00:00
|
|
|
virtual ~filter_update() {}
|
2019-09-09 14:04:06 +00:00
|
|
|
|
|
|
|
virtual void reset() = 0;
|
|
|
|
virtual gr_complex const* update(gr_complex const*, gr_complex const*) = 0;
|
2019-09-09 15:41:20 +00:00
|
|
|
virtual void set_parameters(std::map<std::string, float>const &) = 0;
|
2019-09-09 14:04:06 +00:00
|
|
|
protected:
|
|
|
|
private:
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace digitalhf
|
|
|
|
} // namespace gr
|
|
|
|
#endif // _LIB_FILTER_UPDATE_HPP_
|