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

This class supports the following properties: More...

#include <zmq_signal_source.h>

Inheritance diagram for ZmqSignalSource:
SignalSourceBase SignalSourceInterface GNSSBlockInterface

Public Member Functions

 ZmqSignalSource (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
auto connect (gr::top_block_sptr top_block) -> void override
auto disconnect (gr::top_block_sptr top_block) -> void override
auto get_right_block () -> gr::basic_block_sptr 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

This class supports the following properties:

.endpoint - the ZMQ endpoint to be connected to .vlen - vector length of the input items (default 1, one item) this must match the size of the publisher! .pass_tags - boolean flag if tags should be propagated (default false) .timeout_ms - receive timeout, in milliseconds (default 100) .hwm - ZMQ high water mark (default -1, ZMQ default)

.item_type - data type of the samples (default "gr_complex")

(probably should be abstracted to the base class)

.dump - whether to archive input data .dump_filename - if dumping, path to file for output

Definition at line 51 of file zmq_signal_source.h.

Member Function Documentation

◆ connect()

auto ZmqSignalSource::connect ( gr::top_block_sptr top_block) -> void
overridevirtual

Implements GNSSBlockInterface.

◆ disconnect()

auto ZmqSignalSource::disconnect ( gr::top_block_sptr top_block) -> void
overridevirtual

Implements GNSSBlockInterface.

◆ get_right_block()

auto ZmqSignalSource::get_right_block ( ) -> gr::basic_block_sptr
overridevirtual

Implements GNSSBlockInterface.

◆ item_size()

size_t ZmqSignalSource::item_size ( )
overridevirtual

Implements GNSSBlockInterface.


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