21 #ifndef INCLUDED_ldpc_G_matrix_H
22 #define INCLUDED_ldpc_G_matrix_H
26 #include <boost/shared_ptr.hpp>
27 #include <boost/enable_shared_from_this.hpp>
55 public boost::enable_shared_from_this<ldpc_G_matrix>
58 typedef boost::shared_ptr<ldpc_G_matrix>
sptr;
71 static sptr make(
const std::string filename);
74 virtual void encode(
unsigned char *outbuffer,
75 const unsigned char *inbuffer)
const = 0;
78 virtual void decode(
unsigned char *outbuffer,
79 const float *inbuffer,
80 unsigned int frame_size,
81 unsigned int max_iterations)
const = 0;
92 virtual gr::fec::code::fec_mtrx_sptr get_base_sptr() = 0;
Class for storing H or G matrix.
Definition: ldpc_G_matrix.h:54
Include this header to use the message passing features.
Definition: logger.h:131
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:30
FEC_API unsigned char encode(unsigned char *symbols, unsigned char *data, unsigned int nbytes, unsigned char encstate)
boost::shared_ptr< ldpc_G_matrix > sptr
Definition: ldpc_G_matrix.h:58
Base class for FEC matrix objects.
Definition: fec_mtrx.h:136