GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
SignalSourceBase Class Reference
Inheritance diagram for SignalSourceBase:
SignalSourceInterface GNSSBlockInterface Ad936xCustomSignalSource Adrv9361z7035SignalSourceFPGA CustomUDPSignalSource DMASignalSourceFPGA FifoSignalSource FileSourceBase FlexibandSignalSource Fmcomms2SignalSource Fmcomms5SignalSourceFPGA GnMaxSignalSource IONGSMSSignalSource LabsatSignalSource LimesdrSignalSource MAX2771EVKITSignalSourceFPGA MultichannelFileSignalSource OsmosdrSignalSource PlutosdrSignalSource RawArraySignalSource RtlTcpSignalSource SpirGSS6450FileSignalSource UhdSignalSource ZmqSignalSource

Public Member Functions

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 size_t item_size ()=0
virtual void connect (gr::top_block_sptr top_block)=0
virtual void disconnect (gr::top_block_sptr top_block)=0
virtual gr::basic_block_sptr get_right_block ()=0
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.

Protected Member Functions

 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

Definition at line 28 of file signal_source_base.h.

Constructor & Destructor Documentation

◆ SignalSourceBase()

SignalSourceBase::SignalSourceBase ( ConfigurationInterface const * configuration,
std::string role,
std::string impl )
protected

Constructor.

Member Function Documentation

◆ decode_item_type()

size_t SignalSourceBase::decode_item_type ( std::string const & item_type,
bool * is_interleaved = nullptr,
bool throw_on_error = false )
protected

utility for decoding passed ".item_type" values

Parameters
[in]item_type- user provided string, should be one of the known types
[out]is_interleaved- if non-null, the pointed to memory is updated with whether the data is interleaved I/Q (e.g., ishort)
[in]throw_on_error- if true, throw an exception if the string does not represent a known type
Returns
the size in bytes of the passed type

◆ get_left_block()

gr::basic_block_sptr SignalSourceBase::get_left_block ( )
overridevirtual

Implements GNSSBlockInterface.

◆ getRfChannels()

size_t SignalSourceBase::getRfChannels ( ) const
overridevirtual

Implements SignalSourceInterface.

◆ implementation()

std::string SignalSourceBase::implementation ( )
finalvirtual

Implements GNSSBlockInterface.

◆ role()

std::string SignalSourceBase::role ( )
finalvirtual

Implements GNSSBlockInterface.


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