diff options
author | Josh Morman <mormjb@gmail.com> | 2020-06-02 09:37:58 -0400 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-11-16 13:10:53 -0500 |
commit | e5144a18d9f5280f62db4dd3c2426860b92b2631 (patch) | |
tree | ce74d38bdfbd2c2ed5a106c2cac7914bc98660a7 /gr-digital/lib/constellation_encoder_bc_impl.h | |
parent | f1d64ccf38f669420387c1cc8787513538e40947 (diff) |
digital: add constellation_encoder block
Diffstat (limited to 'gr-digital/lib/constellation_encoder_bc_impl.h')
-rw-r--r-- | gr-digital/lib/constellation_encoder_bc_impl.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gr-digital/lib/constellation_encoder_bc_impl.h b/gr-digital/lib/constellation_encoder_bc_impl.h new file mode 100644 index 0000000000..9b84403305 --- /dev/null +++ b/gr-digital/lib/constellation_encoder_bc_impl.h @@ -0,0 +1,36 @@ +/* -*- c++ -*- */ +/* + * Copyright 2020 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + */ + +#ifndef INCLUDED_DIGITAL_CONSTELLATION_DECODER_CB_IMPL_H +#define INCLUDED_DIGITAL_CONSTELLATION_DECODER_CB_IMPL_H + +#include <gnuradio/digital/constellation_encoder_bc.h> + +namespace gr { +namespace digital { + +class constellation_encoder_bc_impl : public constellation_encoder_bc +{ +private: + constellation_sptr d_constellation; + +public: + constellation_encoder_bc_impl(constellation_sptr constellation); + ~constellation_encoder_bc_impl(); + + int work(int noutput_items, + gr_vector_const_void_star& input_items, + gr_vector_void_star& output_items); +}; + +} /* namespace digital */ +} /* namespace gr */ + +#endif /* INCLUDED_DIGITAL_CONSTELLATION_DECODER_CB_IMPL_H */ |