mirror of
https://github.com/hb9fxq/gr-digitalhf
synced 2024-12-22 15:10:00 +00:00
31 lines
626 B
C++
31 lines
626 B
C++
// -*- 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;
|
|
|
|
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_
|