18 #ifndef GNSS_SDR_CUSTOM_UDP_SIGNAL_SOURCE_H 19 #define GNSS_SDR_CUSTOM_UDP_SIGNAL_SOURCE_H 24 #include <gnuradio/blocks/file_sink.h> 25 #include <gnuradio/blocks/null_sink.h> 47 const std::string& role,
unsigned int in_stream,
52 inline size_t item_size()
override 57 void connect(gr::top_block_sptr top_block)
override;
58 void disconnect(gr::top_block_sptr top_block)
override;
59 gr::basic_block_sptr get_left_block()
override;
60 gr::basic_block_sptr get_right_block()
override;
61 gr::basic_block_sptr get_right_block(
int RF_channel)
override;
64 Gr_Complex_Ip_Packet_Source::sptr udp_gnss_rx_source_;
65 std::vector<gnss_shared_ptr<gr::block>> null_sinks_;
66 std::vector<gnss_shared_ptr<gr::block>> file_sink_;
68 std::string item_type_;
69 std::string dump_filename_;
75 unsigned int in_stream_;
76 unsigned int out_stream_;
84 #endif // GNSS_SDR_CUSTOM_UDP_SIGNAL_SOURCE_H Interface of a thread-safe std::queue.
Header file of the base class to signal_source GNSS blocks.
This class reads from UDP packets, which streams interleaved I/Q samples over a network.
Receives ip frames containing samples in UDP frame encapsulation using a high performance packet capt...
This abstract class represents an interface to configuration parameters.