45 const std::string& role,
unsigned int in_stream,
48 ~UhdSignalSource() =
default;
50 inline size_t item_size()
override
55 void connect(gr::top_block_sptr top_block)
override;
56 void disconnect(gr::top_block_sptr top_block)
override;
57 gr::basic_block_sptr get_left_block()
override;
58 gr::basic_block_sptr get_right_block()
override;
59 gr::basic_block_sptr get_right_block(
int RF_channel)
override;
62 gr::uhd::usrp_source::sptr uhd_source_;
64 std::vector<gnss_shared_ptr<gr::block>> valve_;
65 std::vector<gr::blocks::file_sink::sptr> file_sink_;
66 std::vector<double> freq_;
67 std::vector<double> gain_;
68 std::vector<double> IF_bandwidth_hz_;
69 std::vector<uint64_t> samples_;
70 std::vector<std::string> dump_filename_;
71 std::vector<bool> dump_;
73 uhd::stream_args_t uhd_stream_args_;
75 std::string device_address_;
76 std::string item_type_;
77 std::string subdevice_;
78 std::string clock_source_;
85 std::string otw_format_;
90 unsigned int in_stream_;
91 unsigned int out_stream_;