18 #ifndef GNSS_SDR_RTL_TCP_SIGNAL_SOURCE_H 19 #define GNSS_SDR_RTL_TCP_SIGNAL_SOURCE_H 24 #include <gnuradio/blocks/deinterleave.h> 25 #include <gnuradio/blocks/file_sink.h> 26 #include <gnuradio/blocks/float_to_complex.h> 49 const std::string& role,
50 unsigned int in_stream,
51 unsigned int out_stream,
56 inline std::string role()
override 66 return "RtlTcp_Signal_Source";
69 inline size_t item_size()
override 74 void connect(gr::top_block_sptr top_block)
override;
75 void disconnect(gr::top_block_sptr top_block)
override;
76 gr::basic_block_sptr get_left_block()
override;
77 gr::basic_block_sptr get_right_block()
override;
82 rtl_tcp_signal_source_c_sptr signal_source_;
84 gnss_shared_ptr<gr::block> valve_;
85 gr::blocks::file_sink::sptr file_sink_;
88 std::string item_type_;
89 std::string dump_filename_;
100 unsigned int in_stream_;
101 unsigned int out_stream_;
111 #endif // GNSS_SDR_RTL_TCP_SIGNAL_SOURCE_H Interface of a thread-safe std::queue.
Interface of an rtl_tcp signal source reader.
This interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
std::string implementation() override
Returns "RtlTcp_Signal_Source".
This class reads from rtl_tcp, which streams interleaved I/Q samples over TCP. (see https://osmocom...
This abstract class represents an interface to GNSS blocks.