19 #ifndef GNSS_SDR_OSMOSDR_SIGNAL_SOURCE_H 20 #define GNSS_SDR_OSMOSDR_SIGNAL_SOURCE_H 24 #include <gnuradio/blocks/file_sink.h> 28 #include <osmosdr/source.h> 49 const std::string& role,
unsigned int in_stream,
54 inline size_t item_size()
override 59 void connect(gr::top_block_sptr top_block)
override;
60 void disconnect(gr::top_block_sptr top_block)
override;
61 gr::basic_block_sptr get_left_block()
override;
62 gr::basic_block_sptr get_right_block()
override;
65 void driver_instance();
67 osmosdr::source::sptr osmosdr_source_;
68 gnss_shared_ptr<gr::block> valve_;
69 gr::blocks::file_sink::sptr file_sink_;
71 std::string item_type_;
72 std::string dump_filename_;
73 std::string osmosdr_args_;
87 unsigned int in_stream_;
88 unsigned int out_stream_;
97 #endif // GNSS_SDR_OSMOSDR_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.
This class reads samples OsmoSDR-compatible front-ends, such as HackRF or Realtek's RTL2832U-based US...