GNU Radio's SATELLITES Package

viterbi_decoder_impl.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2021 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_VITERBI_DECODER_IMPL_H
12#define INCLUDED_SATELLITES_VITERBI_DECODER_IMPL_H
13
14#include "viterbi/viterbi.h"
15
16#include <satellites/viterbi_decoder.h>
17
18 namespace gr {
19 namespace satellites {
20
21 class viterbi_decoder_impl : public viterbi_decoder
22{
23 private:
24 ViterbiCodec d_codec;
25
26 public:
27 viterbi_decoder_impl(int constraint, const std::vector<int>& polynomials);
28 ~viterbi_decoder_impl();
29
30 int general_work(int noutput_items,
31 gr_vector_int& ninput_items,
32 gr_vector_const_void_star& input_items,
33 gr_vector_void_star& output_items);
34
35 void msg_handler(pmt::pmt_t pmt_msg);
36};
37
38} // namespace satellites
39} // namespace gr
40
41#endif /* INCLUDED_SATELLITES_VITERBI_DECODER_IMPL_H */
ViterbiCodec
Definition viterbi/viterbi.h:16
gr::satellites::viterbi_decoder_impl::viterbi_decoder_impl
viterbi_decoder_impl(int constraint, const std::vector< int > &polynomials)
gr::satellites::viterbi_decoder_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::viterbi_decoder_impl::msg_handler
void msg_handler(pmt::pmt_t pmt_msg)
gr::satellites::viterbi_decoder_impl::~viterbi_decoder_impl
~viterbi_decoder_impl()
gr::satellites::viterbi_decoder
Viterbi decoder.
Definition viterbi_decoder.h:26
gr::satellites
Definition ax100_decode.h:18
gr
Definition ax100_decode.h:17
viterbi.h
viterbi_decoder.h