GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
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
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.

Additional Inherited Members

Protected Member Functions inherited from SignalSourceBase
 SignalSourceBase (ConfigurationInterface const *configuration, std::string role, std::string impl)
 Constructor.
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

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

  • may be overridden by the -signal_source or -s command-line arguments

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

  • note: not output format. that is always gr_complex

.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.

◆ disconnect()

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

Implements GNSSBlockInterface.

◆ get_left_block()

gr::basic_block_sptr FifoSignalSource::get_left_block ( )
overridevirtual

Implements GNSSBlockInterface.

◆ get_right_block()

gr::basic_block_sptr FifoSignalSource::get_right_block ( )
overridevirtual

Implements GNSSBlockInterface.

◆ item_size()

size_t FifoSignalSource::item_size ( )
overridevirtual

Implements GNSSBlockInterface.


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