GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
ldpc_par_mtrx_encoder.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2015 Free Software Foundation, Inc.
4 *
5 * This file is part of GNU Radio
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_LDPC_PAR_MTRX_ENCODER_H
12#define INCLUDED_LDPC_PAR_MTRX_ENCODER_H
13
17#include <string>
18#include <vector>
19
20namespace gr {
21namespace fec {
22namespace code {
23
25{
26public:
27 static generic_encoder::sptr make(std::string alist_file, unsigned int gap = 0);
29
30 double rate() override = 0;
31 bool set_frame_size(unsigned int frame_size) override = 0;
32 int get_output_size() override = 0;
33 int get_input_size() override = 0;
34};
35
36} /* namespace code */
37} /* namespace fec */
38} /* namespace gr */
39
40#endif /* INCLUDED_LDPC_PAR_MTRX_ENCODER_H */
std::shared_ptr< ldpc_H_matrix > sptr
Definition: ldpc_H_matrix.h:41
Definition: ldpc_par_mtrx_encoder.h:25
bool set_frame_size(unsigned int frame_size) override=0
static generic_encoder::sptr make(std::string alist_file, unsigned int gap=0)
static generic_encoder::sptr make_H(const code::ldpc_H_matrix::sptr H_obj)
Definition: generic_encoder.h:23
std::shared_ptr< generic_encoder > sptr
Definition: generic_encoder.h:37
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29