18 #ifndef GNSS_SDR_ARRAY_SIGNAL_CONDITIONER_H 19 #define GNSS_SDR_ARRAY_SIGNAL_CONDITIONER_H 23 #include <gnuradio/block.h> 46 std::shared_ptr<GNSSBlockInterface> in_filt,
47 std::shared_ptr<GNSSBlockInterface> res,
53 void connect(gr::top_block_sptr top_block)
override;
54 void disconnect(gr::top_block_sptr top_block)
override;
55 gr::basic_block_sptr get_left_block()
override;
56 gr::basic_block_sptr get_right_block()
override;
58 inline std::string role()
override {
return role_; }
60 inline std::string
implementation()
override {
return "Array_Signal_Conditioner"; }
61 inline size_t item_size()
override {
return data_type_adapt_->item_size(); }
63 inline std::shared_ptr<GNSSBlockInterface> data_type_adapter() {
return data_type_adapt_; }
64 inline std::shared_ptr<GNSSBlockInterface> input_filter() {
return in_filt_; }
65 inline std::shared_ptr<GNSSBlockInterface> resampler() {
return res_; }
68 std::shared_ptr<GNSSBlockInterface> data_type_adapt_;
69 std::shared_ptr<GNSSBlockInterface> in_filt_;
70 std::shared_ptr<GNSSBlockInterface> res_;
78 #endif // GNSS_SDR_SIGNAL_CONDITIONER_H ~ArraySignalConditioner()=default
Destructor.
This interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
std::string implementation() override
Returns "Array_Signal_Conditioner".
This class wraps blocks to change data_type_adapter, input_filter and resampler to be applied to the ...
This abstract class represents an interface to GNSS blocks.
ArraySignalConditioner(std::shared_ptr< GNSSBlockInterface > data_type_adapt, std::shared_ptr< GNSSBlockInterface > in_filt, std::shared_ptr< GNSSBlockInterface > res, std::string role)
Constructor.