18 #ifndef GNSS_SDR_ION_GSMS_SIGNAL_SOURCE_H 19 #define GNSS_SDR_ION_GSMS_SIGNAL_SOURCE_H 25 #include <GnssMetadata.h> 44 unsigned int in_streams,
unsigned int out_streams,
50 void connect(gr::top_block_sptr top_block)
override;
51 void disconnect(gr::top_block_sptr top_block)
override;
53 gr::basic_block_sptr get_left_block()
override;
54 gr::basic_block_sptr get_right_block()
override;
55 gr::basic_block_sptr get_right_block(
int RF_channel)
override;
57 inline size_t item_size()
override 59 return (*sources_.begin())->output_stream_item_size(0);
63 std::vector<IONGSMSFileSource::sptr> make_stream_sources(
const std::vector<std::string>& stream_ids)
const;
67 std::vector<std::string> stream_ids_;
68 std::vector<IONGSMSFileSource::sptr> sources_;
69 std::vector<gnss_shared_ptr<gr::block>> copy_blocks_;
70 std::vector<gnss_shared_ptr<gr::block>> valves_;
72 std::string metadata_filepath_;
73 std::shared_ptr<GnssMetadata::Metadata> metadata_;
75 gnss_shared_ptr<Gnss_Sdr_Timestamp> timestamp_block_;
76 std::string timestamp_file_;
79 uint32_t out_streams_;
85 #endif // GNSS_SDR_ION_GSMS_SIGNAL_SOURCE_H GNURadio block that adds to sample stream timestamp metadata information stored on a sepparated file...
This abstract class represents an interface to configuration parameters.
Class that reads signals samples from a file and adapts it to a SignalSourceInterface.
Header file of the base class to file-oriented signal_source GNSS blocks.
This class represents an interface to configuration parameters.
GNU Radio block that reads a Block from a file following ION's GNSS-SDR metadata standard.