18 #ifndef GNSS_SDR_SIGNAL_CONDITIONER_H 19 #define GNSS_SDR_SIGNAL_CONDITIONER_H 22 #include <gnuradio/block.h> 44 std::shared_ptr<GNSSBlockInterface> in_filt,
45 std::shared_ptr<GNSSBlockInterface> res,
51 void connect(gr::top_block_sptr top_block)
override;
52 void disconnect(gr::top_block_sptr top_block)
override;
53 gr::basic_block_sptr get_left_block()
override;
54 gr::basic_block_sptr get_right_block()
override;
56 inline std::string role()
override {
return role_; }
58 inline std::string
implementation()
override {
return "Signal_Conditioner"; }
60 inline size_t item_size()
override {
return data_type_adapt_->item_size(); }
62 inline std::shared_ptr<GNSSBlockInterface> data_type_adapter() {
return data_type_adapt_; }
63 inline std::shared_ptr<GNSSBlockInterface> input_filter() {
return in_filt_; }
64 inline std::shared_ptr<GNSSBlockInterface> resampler() {
return res_; }
67 std::shared_ptr<GNSSBlockInterface> data_type_adapt_;
68 std::shared_ptr<GNSSBlockInterface> in_filt_;
69 std::shared_ptr<GNSSBlockInterface> res_;
77 #endif // GNSS_SDR_SIGNAL_CONDITIONER_H ~SignalConditioner()=default
Destructor.
This class wraps blocks to change data_type_adapter, input_filter and resampler to be applied to the ...
This interface represents a GNSS block.
SignalConditioner(std::shared_ptr< GNSSBlockInterface > data_type_adapt, std::shared_ptr< GNSSBlockInterface > in_filt, std::shared_ptr< GNSSBlockInterface > res, std::string role)
Constructor.
This abstract class represents an interface to GNSS blocks.
std::string implementation() override
Returns "Signal_Conditioner".