22 #ifndef GNSS_SDR_PLUTOSDR_SIGNAL_SOURCE_H 23 #define GNSS_SDR_PLUTOSDR_SIGNAL_SOURCE_H 26 #include <gnuradio/blocks/file_sink.h> 27 #if GRIIO_INCLUDE_HAS_GNURADIO 28 #include <gnuradio/iio/pluto_source.h> 30 #include <iio/pluto_source.h> 37 #if GNURADIO_USES_STD_POINTERS 39 #include <boost/shared_ptr.hpp> 51 const std::string& role,
unsigned int in_stream,
56 std::string role()
override 66 return "Plutosdr_Signal_Source";
68 size_t item_size()
override 73 void connect(gr::top_block_sptr top_block)
override;
74 void disconnect(gr::top_block_sptr top_block)
override;
75 gr::basic_block_sptr get_left_block()
override;
76 gr::basic_block_sptr get_right_block()
override;
79 gr::iio::pluto_source::sptr plutosdr_source_;
81 #if GNURADIO_USES_STD_POINTERS 82 std::shared_ptr<gr::block> valve_;
84 boost::shared_ptr<gr::block> valve_;
86 gr::blocks::file_sink::sptr file_sink_;
89 std::string dump_filename_;
93 std::string gain_mode_;
94 std::string filter_file_;
95 std::string filter_source_;
96 std::string filter_filename_;
97 std::string item_type_;
101 uint64_t sample_rate_;
103 uint64_t buffer_size_;
107 unsigned int in_stream_;
108 unsigned int out_stream_;
117 #endif // GNSS_SDR_PLUTOSDR_SIGNAL_SOURCE_H Interface of a thread-safe std::queue.
This interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
This abstract class represents an interface to GNSS blocks.
std::string implementation() override
Returns "Plutosdr_Signal_Source".