21 #ifndef GNSS_SDR_RTL_TCP_SIGNAL_SOURCE_H 22 #define GNSS_SDR_RTL_TCP_SIGNAL_SOURCE_H 27 #include <gnuradio/blocks/deinterleave.h> 28 #include <gnuradio/blocks/file_sink.h> 29 #include <gnuradio/blocks/float_to_complex.h> 34 #if GNURADIO_USES_STD_POINTERS 36 #include <boost/shared_ptr.hpp> 51 const std::string& role,
52 unsigned int in_stream,
53 unsigned int out_stream,
58 inline std::string role()
override 68 return "RtlTcp_Signal_Source";
71 inline size_t item_size()
override 76 void connect(gr::top_block_sptr top_block)
override;
77 void disconnect(gr::top_block_sptr top_block)
override;
78 gr::basic_block_sptr get_left_block()
override;
79 gr::basic_block_sptr get_right_block()
override;
84 rtl_tcp_signal_source_c_sptr signal_source_;
86 #if GNURADIO_USES_STD_POINTERS 87 std::shared_ptr<gr::block> valve_;
89 boost::shared_ptr<gr::block> valve_;
91 gr::blocks::file_sink::sptr file_sink_;
94 std::string item_type_;
95 std::string dump_filename_;
106 unsigned int in_stream_;
107 unsigned int out_stream_;
114 #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.