summaryrefslogtreecommitdiff
path: root/gr-digital/lib/constellation_encoder_bc_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/lib/constellation_encoder_bc_impl.h')
-rw-r--r--gr-digital/lib/constellation_encoder_bc_impl.h36
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 */