GNU Radio's LORA_SDR Package
gr::lora_sdr::data_source_sim Class Reference

Data source that can both generate random strings or static strings, for more information about the implementation visit data_source_impl Main difference from data_source is that this implementation uses an internal uniform distribution, for the timing of the msg pmt channel. More...

#include <data_source_sim.h>

Inheritance diagram for gr::lora_sdr::data_source_sim:
[legend]

Public Types

typedef std::shared_ptr< data_source_simsptr
 

Static Public Member Functions

static sptr make (int pay_len, int n_frames, std::string string_input, uint32_t mean, bool exit_control)
 Return a shared_ptr to a new instance of lora_sdr::data_source.
 

Detailed Description

Data source that can both generate random strings or static strings, for more information about the implementation visit data_source_impl Main difference from data_source is that this implementation uses an internal uniform distribution, for the timing of the msg pmt channel.

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

static sptr gr::lora_sdr::data_source_sim::make ( int  pay_len,
int  n_frames,
std::string  string_input,
uint32_t  mean,
bool  exit_control 
)
static

Return a shared_ptr to a new instance of lora_sdr::data_source.

To avoid accidental use of raw pointers, lora_sdr::data_source's constructor is in a private implementation class. lora_sdr::data_source::make is the public interface for creating new instances.


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