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 std::string role()
override 62 return "Custom_UDP_Signal_Source";
65 inline size_t item_size()
override 70 void connect(gr::top_block_sptr top_block)
override;
71 void disconnect(gr::top_block_sptr top_block)
override;
72 gr::basic_block_sptr get_left_block()
override;
73 gr::basic_block_sptr get_right_block()
override;
74 gr::basic_block_sptr get_right_block(
int RF_channel)
override;
77 Gr_Complex_Ip_Packet_Source::sptr udp_gnss_rx_source_;
78 std::vector<gnss_shared_ptr<gr::block>> null_sinks_;
79 std::vector<gnss_shared_ptr<gr::block>> file_sink_;
82 std::string item_type_;
83 std::string dump_filename_;
89 unsigned int in_stream_;
90 unsigned int out_stream_;
99 #endif // GNSS_SDR_CUSTOM_UDP_SIGNAL_SOURCE_H Interface of a thread-safe std::queue.
std::string implementation() override
Returns "Custom_UDP_Signal_Source".
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 interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
This abstract class represents an interface to GNSS blocks.