1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-18 07:44:57 +00:00

Adding some lines to notch_filter.h

Coding the class NotchFilter
This commit is contained in:
Antonio Ramos 2017-06-09 14:12:55 +02:00
parent 4c52774da1
commit 2731be3939

View File

@ -33,5 +33,45 @@
#ifndef GNSS_SDR_NOTCH_FILTER_H_ #ifndef GNSS_SDR_NOTCH_FILTER_H_
#define GNSS_SDR_NOTCH_FILTER_H_ #define GNSS_SDR_NOTCH_FILTER_H_
#include <string>
#include <vector>
#include <gnuradio/blocks/file_sink.h>
#include "gnss_block_interface.h"
#include "notch_cc.h"
#endif class ConfigurationInterface;
class NotchFilter: public GNSSBlockInterface
{
public:
NotchFilter(ConfigurationInterface* configuration,
std::string role, unsigned int in_streams,
unsigned int out_streams);
virtual ~NotchFilter();
std::string role()
{
return role_;
}
//! Returns "Notch_Filter"
std::string implementation()
{
return "Notch_Filter";
}
size_t item_size()
{
return 0;
}
void connect(gr::top_block_sptr top_block);
void disconnect(gr::top_block_sptr top_block);
gr::basic_block_sptr get_left_block();
gr::basic_block_sptr get_right_block();
private:
ConfigurationInterface* config_;
};
#endif //GNSS_SDR_NOTCH_FILTER_H_