convolutional_encoder_impl.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2021 Daniel Estevez <daniel@destevez.net>
*
* This file is part of gr-satellites
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_SATELLITES_CONVOLUTIONAL_ENCODER_IMPL_H
#define INCLUDED_SATELLITES_CONVOLUTIONAL_ENCODER_IMPL_H
#include "viterbi/viterbi.h"
#include <satellites/convolutional_encoder.h>
namespace gr {
namespace satellites {
class convolutional_encoder_impl : public convolutional_encoder
{
private:
ViterbiCodec d_codec;
public:
convolutional_encoder_impl(int constraint, const std::vector<int>& polynomials);
~convolutional_encoder_impl();
int general_work(int noutput_items,
gr_vector_int& ninput_items,
gr_vector_const_void_star& input_items,
gr_vector_void_star& output_items);
void msg_handler(pmt::pmt_t pmt_msg);
};
} // namespace satellites
} // namespace gr
#endif /* INCLUDED_SATELLITES_CONVOLUTIONAL_ENCODER_IMPL_H */
ViterbiCodec
Definition: viterbi/viterbi.h:16
gr::satellites::convolutional_encoder_impl
Definition: convolutional_encoder_impl.h:22
gr::satellites::convolutional_encoder_impl::msg_handler
void msg_handler(pmt::pmt_t pmt_msg)
gr::satellites::convolutional_encoder_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::convolutional_encoder_impl::~convolutional_encoder_impl
~convolutional_encoder_impl()
gr::satellites::convolutional_encoder_impl::convolutional_encoder_impl
convolutional_encoder_impl(int constraint, const std::vector< int > &polynomials)
gr::satellites::convolutional_encoder
Convolutional encoder.
Definition: convolutional_encoder.h:26
convolutional_encoder.h
gr
Definition: ax100_decode.h:17
viterbi.h