21#ifndef GNSS_SDR_NSR_FILE_SIGNAL_SOURCE_H
22#define GNSS_SDR_NSR_FILE_SIGNAL_SOURCE_H
45 unsigned int in_streams,
unsigned int out_streams,
48 ~NsrFileSignalSource() =
default;
53 gnss_shared_ptr<gr::block>
source()
const override;
54 void create_file_source_hook()
override;
55 void pre_connect_hook(gr::top_block_sptr top_block)
override;
56 void pre_disconnect_hook(gr::top_block_sptr top_block)
override;
59 unpack_byte_2bit_samples_sptr unpack_byte_;
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...
double packetsPerSample() const override
The number of (possibly unpacked) samples in a (raw) file sample (default=1).
Header file of the base class to file-oriented signal_source GNSS blocks.
Unpacks byte samples to NSR 2 bits samples.