21 #ifndef GNSS_SDR_MULTICHANNEL_FILE_SIGNAL_SOURCE_H 22 #define GNSS_SDR_MULTICHANNEL_FILE_SIGNAL_SOURCE_H 27 #include <gnuradio/blocks/file_sink.h> 28 #include <gnuradio/blocks/file_source.h> 29 #include <gnuradio/blocks/throttle.h> 30 #include <gnuradio/hier_block2.h> 53 unsigned int in_streams,
unsigned int out_streams,
58 inline size_t item_size()
override 63 void connect(gr::top_block_sptr top_block)
override;
64 void disconnect(gr::top_block_sptr top_block)
override;
65 gr::basic_block_sptr get_left_block()
override;
66 gr::basic_block_sptr get_right_block()
override;
68 inline std::string filename()
const 70 return filename_vec_.at(0);
73 inline std::string item_type()
const 78 inline bool repeat()
const 83 inline int64_t sampling_frequency()
const 85 return sampling_frequency_;
88 inline uint64_t samples()
const 94 std::vector<gr::blocks::file_source::sptr> file_source_vec_;
95 gnss_shared_ptr<gr::block> valve_;
96 gr::blocks::file_sink::sptr sink_;
97 std::vector<gr::blocks::throttle::sptr> throttle_vec_;
98 std::vector<std::string> filename_vec_;
99 std::string item_type_;
101 int64_t sampling_frequency_;
104 uint32_t in_streams_;
105 uint32_t out_streams_;
108 bool enable_throttle_control_;
114 #endif // GNSS_SDR_MULTICHANNEL_FILE_SIGNAL_SOURCE_H Interface of a thread-safe std::queue.
Header file of the base class to signal_source GNSS blocks.
This interface represents a GNSS block.
This abstract class represents an interface to configuration parameters.
Class that reads signals samples from files at different frequency bands and adapts it to a SignalSou...