 |
GNU Radio Manual and C++ API Reference
3.8.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
21 #ifndef INCLUDED_ldpc_G_matrix_H
22 #define INCLUDED_ldpc_G_matrix_H
26 #include <boost/enable_shared_from_this.hpp>
27 #include <boost/shared_ptr.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;
Base class for FEC matrix objects.
Definition: fec_mtrx.h:134
FEC_API unsigned char encode(unsigned char *symbols, unsigned char *data, unsigned int nbytes, unsigned char encstate)
Class for storing H or G matrix.
Definition: ldpc_G_matrix.h:54
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:30
boost::shared_ptr< ldpc_G_matrix > sptr
Definition: ldpc_G_matrix.h:58
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43