GNU Radio's SATELLITES Package

matrix_deinterleaver_soft_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2019-2020 Daniel Estevez <daniel@destevez.net>
4 *
5 * This file is part of gr-satellites
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_SATELLITES_MATRIX_DEINTERLEAVER_SOFT_IMPL_H
12#define INCLUDED_SATELLITES_MATRIX_DEINTERLEAVER_SOFT_IMPL_H
13
14#include <satellites/matrix_deinterleaver_soft.h>
15
16#include <vector>
17
18 namespace gr {
19 namespace satellites {
20
21 class matrix_deinterleaver_soft_impl : public matrix_deinterleaver_soft
22{
23 private:
24 const size_t d_rows;
25 const size_t d_cols;
26 const size_t d_output_size;
27 const size_t d_output_skip;
28 std::vector<float> d_out;
29
30 public:
31 matrix_deinterleaver_soft_impl(int rows, int cols, int output_size, int output_skip);
32 ~matrix_deinterleaver_soft_impl();
33
34 // Where all the action really happens
35 void forecast(int noutput_items, gr_vector_int& ninput_items_required);
36
37 int general_work(int noutput_items,
38 gr_vector_int& ninput_items,
39 gr_vector_const_void_star& input_items,
40 gr_vector_void_star& output_items);
41
42 void msg_handler(pmt::pmt_t pmt_msg);
43};
44
45} // namespace satellites
46} // namespace gr
47
48#endif /* INCLUDED_SATELLITES_MATRIX_DEINTERLEAVER_SOFT_IMPL_H */
gr::satellites::matrix_deinterleaver_soft_impl::forecast
void forecast(int noutput_items, gr_vector_int &ninput_items_required)
gr::satellites::matrix_deinterleaver_soft_impl::general_work
int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::satellites::matrix_deinterleaver_soft_impl::msg_handler
void msg_handler(pmt::pmt_t pmt_msg)
gr::satellites::matrix_deinterleaver_soft_impl::~matrix_deinterleaver_soft_impl
~matrix_deinterleaver_soft_impl()
gr::satellites::matrix_deinterleaver_soft_impl::matrix_deinterleaver_soft_impl
matrix_deinterleaver_soft_impl(int rows, int cols, int output_size, int output_skip)
gr::satellites::matrix_deinterleaver_soft
<+description of block+>
Definition matrix_deinterleaver_soft.h:26
matrix_deinterleaver_soft.h
gr::satellites
Definition ax100_decode.h:18
gr
Definition ax100_decode.h:17