GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
UhdSignalSource Class Reference

This class reads samples from a UHD device (see http://code.ettus.com/redmine/ettus/projects/uhd/wiki). More...

#include <uhd_signal_source.h>

Inheritance diagram for UhdSignalSource:
SignalSourceBase SignalSourceInterface GNSSBlockInterface

Public Member Functions

 UhdSignalSource (const ConfigurationInterface *configuration, const std::string &role, unsigned int in_stream, unsigned int out_stream, Concurrent_Queue< pmt::pmt_t > *queue)
size_t item_size () override
void connect (gr::top_block_sptr top_block) override
void disconnect (gr::top_block_sptr top_block) override
gr::basic_block_sptr get_left_block () override
gr::basic_block_sptr get_right_block () override
gr::basic_block_sptr get_right_block (int RF_channel) override
Public Member Functions inherited from SignalSourceBase
std::string role () final
std::string implementation () final
size_t getRfChannels () const override
Public Member Functions inherited from GNSSBlockInterface
virtual gr::basic_block_sptr get_left_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

This class reads samples from a UHD device (see http://code.ettus.com/redmine/ettus/projects/uhd/wiki).

Definition at line 41 of file uhd_signal_source.h.

Member Function Documentation

◆ connect()

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

Implements GNSSBlockInterface.

◆ disconnect()

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

Implements GNSSBlockInterface.

◆ get_left_block()

gr::basic_block_sptr UhdSignalSource::get_left_block ( )
overridevirtual

Reimplemented from SignalSourceBase.

◆ get_right_block() [1/2]

gr::basic_block_sptr UhdSignalSource::get_right_block ( )
overridevirtual

Implements GNSSBlockInterface.

◆ get_right_block() [2/2]

gr::basic_block_sptr UhdSignalSource::get_right_block ( int RF_channel)
overridevirtual

Reimplemented from GNSSBlockInterface.

◆ item_size()

size_t UhdSignalSource::item_size ( )
inlineoverridevirtual

Implements GNSSBlockInterface.

Definition at line 50 of file uhd_signal_source.h.


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