19 #ifndef GNSS_SDR_PLUTOSDR_SIGNAL_SOURCE_H 20 #define GNSS_SDR_PLUTOSDR_SIGNAL_SOURCE_H 23 #include <gnuradio/blocks/file_sink.h> 24 #if GRIIO_INCLUDE_HAS_GNURADIO 25 #if GR_IIO_TEMPLATIZED_API 26 #include <gnuradio/iio/fmcomms2_source.h> 28 #include <gnuradio/iio/pluto_source.h> 31 #include <iio/pluto_source.h> 53 const std::string& role,
unsigned int in_stream,
58 size_t item_size()
override 63 void connect(gr::top_block_sptr top_block)
override;
64 void disconnect(gr::top_block_sptr top_block)
override;
65 gr::basic_block_sptr get_left_block()
override;
66 gr::basic_block_sptr get_right_block()
override;
69 const std::string default_gain_mode = std::string(
"slow_attack");
70 #if GR_IIO_TEMPLATIZED_API 71 gr::iio::fmcomms2_source<gr_complex>::sptr plutosdr_source_;
73 gr::iio::pluto_source::sptr plutosdr_source_;
76 gnss_shared_ptr<gr::block> valve_;
77 gr::blocks::file_sink::sptr file_sink_;
79 std::string dump_filename_;
83 std::string gain_mode_;
84 std::string filter_file_;
85 std::string filter_source_;
86 std::string filter_filename_;
87 std::string item_type_;
91 uint64_t sample_rate_;
93 uint64_t buffer_size_;
97 unsigned int in_stream_;
98 unsigned int out_stream_;
110 #endif // GNSS_SDR_PLUTOSDR_SIGNAL_SOURCE_H Interface of a thread-safe std::queue.
Header file of the base class to signal_source GNSS blocks.
This abstract class represents an interface to configuration parameters.