GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
ldpc_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_ENCODER_H
12
#define INCLUDED_LDPC_ENCODER_H
13
14
#include <
gnuradio/fec/encoder.h
>
15
#include <string>
16
#include <vector>
17
18
namespace
gr
{
19
namespace
fec {
20
21
class
FEC_API
ldpc_encoder
:
virtual
public
generic_encoder
22
{
23
public
:
24
static
generic_encoder::sptr
make(std::string alist_file);
25
26
double
rate()
override
= 0;
27
bool
set_frame_size(
unsigned
int
frame_size)
override
= 0;
28
int
get_output_size()
override
= 0;
29
int
get_input_size()
override
= 0;
30
};
31
32
}
// namespace fec
33
}
// namespace gr
34
35
#endif
/* INCLUDED_LDPC_ENCODER_H */
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
gr::fec::ldpc_encoder
Definition:
ldpc_encoder.h:21
encoder.h
gr::fec::generic_encoder
Definition:
generic_encoder.h:22
gr-fec
include
gnuradio
fec
ldpc_encoder.h
Generated by
1.8.17