gr::fec::code::ldpc_par_mtrx_encoder
gr::fec::generic_encoder
gnuradio/fec/ldpc_par_mtrx_encoder.h
generic_encoder::sptr static generic_encoder::sptr gr::fec::code::ldpc_par_mtrx_encoder::make (std::string alist_file, unsigned int gap=0) make gr::fec::code::ldpc_par_mtrx_encoder::make std::string alist_file unsigned int gap 0
generic_encoder::sptr static generic_encoder::sptr gr::fec::code::ldpc_par_mtrx_encoder::make_H (const code::ldpc_H_matrix::sptr H_obj) make_H gr::fec::code::ldpc_par_mtrx_encoder::make_H const code::ldpc_H_matrix::sptr H_obj
double double gr::fec::code::ldpc_par_mtrx_encoder::rate () override=0 rate gr::fec::code::ldpc_par_mtrx_encoder::rate rate

Returns the rate of the code. For every 1 input bit, there are r output bits, so the rate is 1/r. Used for setting things like the encoder block's relative rate.

This function MUST be reimplemented by the child class.

bool bool gr::fec::code::ldpc_par_mtrx_encoder::set_frame_size (unsigned int frame_size) override=0 set_frame_size gr::fec::code::ldpc_par_mtrx_encoder::set_frame_size set_frame_size unsigned int frame_size

Updates the size of the frame to encode.

The child class MUST implement this function and interpret how the `frame_size` information affects the block's behavior. It should also provide bounds checks.

int int gr::fec::code::ldpc_par_mtrx_encoder::get_output_size () override=0 get_output_size gr::fec::code::ldpc_par_mtrx_encoder::get_output_size get_output_size

Returns the output size in items that the encoder object produces after encoding a full frame. Often, this number is the number of bits in the outputted frame if the input format is unpacked. If the block produces packed bytes, then this value should be the number of bytes (number of bits / 8) per frame produced. This value is generally something like R*get_input_size() for a 1/R rate code.

The child class MUST implement this function.

int int gr::fec::code::ldpc_par_mtrx_encoder::get_input_size () override=0 get_input_size gr::fec::code::ldpc_par_mtrx_encoder::get_input_size get_input_size

Returns the input size in items that the encoder object uses to encode a full frame. Often, this number is the number of bits per frame if the input format is unpacked. If the block expects packed bytes, then this value should be the number of bytes (number of bits / 8) per input frame.

The child class MUST implement this function.

gr::fec::code::ldpc_par_mtrx_encoder
gr::fec::generic_encoder
gr::fec::code::ldpc_par_mtrx_encoder
gr::fec::generic_encoder
d_logger
d_name
std::basic_string< Char >
std::shared_ptr< logger >
std::string
- gr::fec::code::ldpc_par_mtrx_encoder
  alias
- gr::fec::code::ldpc_par_mtrx_encoder
  base_unique_id
- gr::fec::code::ldpc_par_mtrx_encoder
  d_logger
- gr::fec::code::ldpc_par_mtrx_encoder
  d_name
- gr::fec::code::ldpc_par_mtrx_encoder
  generic_encoder
- gr::fec::code::ldpc_par_mtrx_encoder
  generic_encoder
- gr::fec::code::ldpc_par_mtrx_encoder
  generic_work
- gr::fec::code::ldpc_par_mtrx_encoder
  get_input_conversion
- gr::fec::code::ldpc_par_mtrx_encoder
  get_input_size
- gr::fec::code::ldpc_par_mtrx_encoder
  get_output_conversion
- gr::fec::code::ldpc_par_mtrx_encoder
  get_output_size
- gr::fec::code::ldpc_par_mtrx_encoder
  make
- gr::fec::code::ldpc_par_mtrx_encoder
  make_H
- gr::fec::code::ldpc_par_mtrx_encoder
  my_id
- gr::fec::code::ldpc_par_mtrx_encoder
  rate
- gr::fec::code::ldpc_par_mtrx_encoder
  set_frame_size
- gr::fec::code::ldpc_par_mtrx_encoder
  sptr
- gr::fec::code::ldpc_par_mtrx_encoder
  unique_id
- gr::fec::code::ldpc_par_mtrx_encoder
  ~generic_encoder