18#ifndef GNSS_SDR_SPIR_FILE_SIGNAL_SOURCE_H
19#define GNSS_SDR_SPIR_FILE_SIGNAL_SOURCE_H
44 unsigned int in_streams,
unsigned int out_streams,
47 ~SpirFileSignalSource() =
default;
51 gnss_shared_ptr<gr::block>
source()
const override;
52 void create_file_source_hook()
override;
53 void pre_connect_hook(gr::top_block_sptr top_block)
override;
54 void post_disconnect_hook(gr::top_block_sptr top_block)
override;
58 unpack_intspir_1bit_samples_sptr unpack_intspir_;
This class implements a thread-safe std::queue.
This abstract class represents an interface to configuration parameters.
FileSourceBase(ConfigurationInterface const *configuration, std::string const &role, std::string impl, Concurrent_Queue< pmt::pmt_t > *queue, std::string default_item_type="short")
Constructor.
std::tuple< size_t, bool > itemTypeToSize() override
Compute the item size, from the item_type(). Subclasses may constrain types that don't make.
gnss_shared_ptr< gr::block > source() const override
Abstracted front-end source. Sub-classes may override if they create specialized chains to decode sou...
Header file of the base class to file-oriented signal_source GNSS blocks.
Unpacks SPIR int samples to NSR 1 bit samples.