GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
Public Member Functions | List of all members
FifoSignalSource Class Reference

Class that reads a sample stream from a Unix FIFO. More...

#include <fifo_signal_source.h>

Inheritance diagram for FifoSignalSource:
SignalSourceBase SignalSourceInterface GNSSBlockInterface

Public Member Functions

 FifoSignalSource (const ConfigurationInterface *configuration, const std::string &role, unsigned int in_streams, unsigned int out_streams, Concurrent_Queue< pmt::pmt_t > *queue)
 
void connect (gr::top_block_sptr top_block) override
 override methods from GNSSBlockInterface More...
 
void disconnect (gr::top_block_sptr top_block) override
 
size_t item_size () override
 
gr::basic_block_sptr get_left_block () override
 
gr::basic_block_sptr get_right_block () override
 
- Public Member Functions inherited from SignalSourceBase
std::string role () final
 
std::string implementation () final
 
size_t getRfChannels () const override
 
gr::basic_block_sptr get_left_block () override
 
- Public Member Functions inherited from GNSSBlockInterface
virtual gr::basic_block_sptr get_left_block (int RF_channel)
 
virtual gr::basic_block_sptr get_right_block (int RF_channel)
 
virtual void start ()
 Start the flow of samples if needed. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SignalSourceBase
 SignalSourceBase (ConfigurationInterface const *configuration, std::string role, std::string impl)
 Constructor. More...
 
size_t decode_item_type (std::string const &item_type, bool *is_interleaved=nullptr, bool throw_on_error=false)
 utility for decoding passed ".item_type" values More...
 

Detailed Description

Class that reads a sample stream from a Unix FIFO.

This class supports the following properties:

.filename - the path to the input file

.sample_type - data type read out from the FIFO. default ishort ;

.dump - whether to archive input data

.dump_filename - if dumping, path to file for output

Definition at line 50 of file fifo_signal_source.h.

Member Function Documentation

◆ connect()

void FifoSignalSource::connect ( gr::top_block_sptr  top_block)
overridevirtual

override methods from GNSSBlockInterface

Implements GNSSBlockInterface.


The documentation for this class was generated from the following file: