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

#include <data_source_impl.h>

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

Public Member Functions

 data_source_impl (int pay_len, int n_frames, std::string string_input)
 Construct a new data source impl object.
 
 ~data_source_impl ()
 Destroy the data source impl object.
 
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 Place holder function of data_source that generated random ([a-z A-Z 0-9]) data source to be sent over the network.
 

Additional Inherited Members

- Public Types inherited from gr::lora_sdr::data_source
typedef std::shared_ptr< data_sourcesptr
 
- Static Public Member Functions inherited from gr::lora_sdr::data_source
static sptr make (int pay_len, int n_frames, std::string string_input)
 Return a shared_ptr to a new instance of lora_sdr::data_source.
 

Constructor & Destructor Documentation

◆ data_source_impl()

gr::lora_sdr::data_source_impl::data_source_impl ( int  pay_len,
int  n_frames,
std::string  string_input 
)

Construct a new data source impl object.

Parameters
pay_len: payload length
n_frames: number of frames to generate data for
string_input

◆ ~data_source_impl()

gr::lora_sdr::data_source_impl::~data_source_impl ( )

Destroy the data source impl object.

Member Function Documentation

◆ work()

int gr::lora_sdr::data_source_impl::work ( int  noutput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
)

Place holder function of data_source that generated random ([a-z A-Z 0-9]) data source to be sent over the network.

Parameters
noutput_items
input_items
output_items
Returns
int

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