1
0
Fork 0
mirror of https://github.com/hb9fxq/gr-digitalhf synced 2024-11-18 10:47:46 +00:00
gr-digitalhf/lib/filter_update.hpp

32 lines
656 B
C++
Raw Normal View History

// -*- C++ -*-
#ifndef _LIB_FILTER_UPDATE_HPP_
#define _LIB_FILTER_UPDATE_HPP_
#include <map>
#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() {}
virtual void reset() = 0;
virtual gr_complex const* update(gr_complex const*, gr_complex const*) = 0;
virtual void set_parameters(std::map<std::string, float>const &) = 0;
protected:
private:
} ;
} // namespace digitalhf
} // namespace gr
#endif // _LIB_FILTER_UPDATE_HPP_