9 #ifndef INCLUDED_ldpc_G_matrix_H 10 #define INCLUDED_ldpc_G_matrix_H 43 public std::enable_shared_from_this<ldpc_G_matrix>
46 typedef std::shared_ptr<ldpc_G_matrix>
sptr;
59 static sptr make(
const std::string filename);
62 void encode(
unsigned char* outbuffer,
63 const unsigned char* inbuffer)
const override = 0;
66 void decode(
unsigned char* outbuffer,
67 const float* inbuffer,
68 unsigned int frame_size,
69 unsigned int max_iterations)
const override = 0;
73 unsigned int n()
const override = 0;
77 unsigned int k()
const override = 0;
88 virtual gr::fec::code::fec_mtrx_sptr get_base_sptr() = 0;
std::shared_ptr< ldpc_G_matrix > sptr
Definition: ldpc_G_matrix.h:46
Class for storing H or G matrix.
Definition: ldpc_G_matrix.h:42
GNU Radio logging wrapper.
Definition: basic_block.h:29
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:18
FEC_API unsigned char encode(unsigned char *symbols, unsigned char *data, unsigned int nbytes, unsigned char encstate)
Base class for FEC matrix objects.
Definition: fec_mtrx.h:123