GNU Radio's LORA_SDR Package
gr::lora_sdr::hamming_enc Class Referenceabstract

<+description of block+> More...

#include <hamming_enc.h>

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

Public Types

typedef std::shared_ptr< hamming_encsptr
 

Public Member Functions

virtual void set_cr (uint8_t cr)=0
 
virtual uint8_t get_cr ()=0
 
virtual void set_sf (uint8_t sf)=0
 

Static Public Member Functions

static sptr make (uint8_t cr, uint8_t sf)
 Return a shared_ptr to a new instance of lora_sdr::hamming_enc.
 

Detailed Description

<+description of block+>

Member Typedef Documentation

◆ sptr

typedef std::shared_ptr<hamming_enc> gr::lora_sdr::hamming_enc::sptr

Member Function Documentation

◆ get_cr()

virtual uint8_t gr::lora_sdr::hamming_enc::get_cr ( )
pure virtual

◆ make()

static sptr gr::lora_sdr::hamming_enc::make ( uint8_t  cr,
uint8_t  sf 
)
static

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

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

◆ set_cr()

virtual void gr::lora_sdr::hamming_enc::set_cr ( uint8_t  cr)
pure virtual

◆ set_sf()

virtual void gr::lora_sdr::hamming_enc::set_sf ( uint8_t  sf)
pure virtual

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