GNU Radio Manual and C++ API Reference 3.10.5.1
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
15#include <string>
16#include <vector>
17
18namespace gr {
19namespace fec {
20
21class FEC_API ldpc_encoder : virtual public generic_encoder
22{
23public:
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 */
Definition: generic_encoder.h:23
std::shared_ptr< generic_encoder > sptr
Definition: generic_encoder.h:37
Definition: ldpc_encoder.h:22
static generic_encoder::sptr make(std::string alist_file)
int get_input_size() override=0
int get_output_size() override=0
bool set_frame_size(unsigned int frame_size) override=0
double rate() override=0
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29