GNU Radio Manual and C++ API Reference
3.9.1.0
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
14
#include <
gnuradio/fec/encoder.h
>
15
#include <
gnuradio/fec/fec_mtrx.h
>
16
#include <
gnuradio/fec/ldpc_H_matrix.h
>
17
#include <string>
18
#include <vector>
19
20
namespace
gr
{
21
namespace
fec {
22
namespace
code {
23
24
class
FEC_API
ldpc_par_mtrx_encoder
:
virtual
public
generic_encoder
25
{
26
public
:
27
static
generic_encoder::sptr
make(std::string alist_file,
unsigned
int
gap = 0);
28
static
generic_encoder::sptr
make_H(
const
code::ldpc_H_matrix::sptr
H_obj);
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 */
gr::fec::code::ldpc_par_mtrx_encoder
Definition:
ldpc_par_mtrx_encoder.h:24
fec_mtrx.h
gr::fec::code::ldpc_H_matrix::sptr
std::shared_ptr< ldpc_H_matrix > sptr
Definition:
ldpc_H_matrix.h:41
gr::fec::generic_encoder::sptr
std::shared_ptr< generic_encoder > sptr
Definition:
generic_encoder.h:37
FEC_API
#define FEC_API
Definition:
gr-fec/include/gnuradio/fec/api.h:18
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
ldpc_H_matrix.h
encoder.h
gr::fec::generic_encoder
Definition:
generic_encoder.h:22
gr-fec
include
gnuradio
fec
ldpc_par_mtrx_encoder.h
Generated by
1.8.17