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,
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_;
65 #endif // GNSS_SDR_NSR_FILE_SIGNAL_SOURCE_H double packetsPerSample() const override
The number of (possibly unpacked) samples in a (raw) file sample (default=1)
This abstract class represents an interface to configuration parameters.
Header file of the base class to file-oriented signal_source GNSS blocks.
Class that reads signals samples from a file and adapts it to a SignalSourceInterface.
Base class to file-oriented SignalSourceBase GNSS blocks.
std::tuple< size_t, bool > itemTypeToSize() override
Compute the item size, from the item_type(). Subclasses may constrain types that don't make...
Unpacks byte samples to NSR 2 bits samples.
gnss_shared_ptr< gr::block > source() const override
Abstracted front-end source. Sub-classes may override if they create specialized chains to decode sou...