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

#include <add_crc_impl.h>

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

Public Member Functions

 add_crc_impl (bool has_crc)
 Construct a new add crc impl object.
 
 ~add_crc_impl ()
 Destroy the add crc impl object.
 
void forecast (int noutput_items, gr_vector_int &ninput_items_required)
 Standard gnuradio function for telling the scheduler how many input items are needed.
 
int general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 stanard gnuradio function that does the actual computations
 

Additional Inherited Members

- Public Types inherited from gr::lora_sdr::add_crc
typedef std::shared_ptr< add_crcsptr
 
- Static Public Member Functions inherited from gr::lora_sdr::add_crc
static sptr make (bool has_crc)
 Return a shared_ptr to a new instance of lora_sdr::add_crc.
 

Constructor & Destructor Documentation

◆ add_crc_impl()

gr::lora_sdr::add_crc_impl::add_crc_impl ( bool  has_crc)

Construct a new add crc impl object.

Parameters
has_crc: boolean if crc is turned on or not

◆ ~add_crc_impl()

gr::lora_sdr::add_crc_impl::~add_crc_impl ( )

Destroy the add crc impl object.

Member Function Documentation

◆ forecast()

void gr::lora_sdr::add_crc_impl::forecast ( int  noutput_items,
gr_vector_int &  ninput_items_required 
)

Standard gnuradio function for telling the scheduler how many input items are needed.

Parameters
noutput_itemsnumber of input items
ninput_items_requiredminimum items required

◆ general_work()

int gr::lora_sdr::add_crc_impl::general_work ( int  noutput_items,
gr_vector_int &  ninput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
)

stanard gnuradio function that does the actual computations

Parameters
noutput_itemsnumber of output items
ninput_itemsnumber of input items
input_itemsinput items (input data)
output_itemsoutput items (output data)
Returns
int

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