21 #ifndef GNSS_SDR_SPIR_GSS6450_FILE_SIGNAL_SOURCE_H 22 #define GNSS_SDR_SPIR_GSS6450_FILE_SIGNAL_SOURCE_H 28 #include <gnuradio/blocks/deinterleave.h> 29 #include <gnuradio/blocks/endian_swap.h> 30 #include <gnuradio/blocks/file_sink.h> 31 #include <gnuradio/blocks/file_source.h> 32 #include <gnuradio/blocks/null_sink.h> 33 #include <gnuradio/blocks/throttle.h> 34 #include <gnuradio/hier_block2.h> 59 inline size_t item_size()
override 64 void connect(gr::top_block_sptr top_block)
override;
65 void disconnect(gr::top_block_sptr top_block)
override;
66 gr::basic_block_sptr get_left_block()
override;
67 gr::basic_block_sptr get_right_block(
int RF_channel)
override;
68 gr::basic_block_sptr get_right_block()
override;
70 inline std::string filename()
const 75 inline std::string item_type()
const 80 inline bool repeat()
const 85 inline int64_t sampling_frequency()
const 87 return sampling_frequency_;
90 inline uint64_t samples()
const 96 gr::blocks::file_source::sptr file_source_;
97 gr::blocks::deinterleave::sptr deint_;
98 std::vector<gnss_shared_ptr<gr::block>> valve_vec_;
99 std::vector<gr::blocks::endian_swap::sptr> endian_vec_;
100 std::vector<gr::blocks::null_sink::sptr> null_sinks_;
101 std::vector<unpack_spir_gss6450_samples_sptr> unpack_spir_vec_;
102 std::vector<gr::blocks::file_sink::sptr> sink_vec_;
103 std::vector<gr::blocks::throttle::sptr> throttle_vec_;
104 std::string filename_;
105 std::string dump_filename_;
106 std::string item_type_;
108 int64_t sampling_frequency_;
110 uint32_t in_streams_;
111 uint32_t out_streams_;
117 bool enable_throttle_control_;
124 #endif // GNSS_SDR_SPIR_GSS6450_FILE_SIGNAL_SOURCE_H Interface of a thread-safe std::queue.
Header file of the base class to signal_source GNSS blocks.
Interface of a GNU Radio block that sends a STOP message to the control queue right after a specific ...
Unpacks SPIR int samples.
This abstract class represents an interface to configuration parameters.
Class that reads signals samples from a file and adapts it to a SignalSourceInterface.