GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
binary_slicer_fb.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2006,2011,2012 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  *
9  */
10 
11 #ifndef INCLUDED_DIGITAL_BINARY_SLICER_FB_H
12 #define INCLUDED_DIGITAL_BINARY_SLICER_FB_H
13 
14 #include <gnuradio/digital/api.h>
15 #include <gnuradio/sync_block.h>
16 
17 namespace gr {
18 namespace digital {
19 
20 /*!
21  * \brief Slice float binary symbol producing 1 bit output
22  * \ingroup symbol_coding_blk
23  *
24  * \details
25  * \li input[0][n] < 0 --> 0
26  * \li input[0][n] >= 0 --> 1
27  */
28 class DIGITAL_API binary_slicer_fb : virtual public sync_block
29 {
30 public:
31  // gr::digital::binary_slicer_fb::sptr
32  typedef std::shared_ptr<binary_slicer_fb> sptr;
33 
34  /*!
35  * \brief Make binary symbol slicer block.
36  */
37  static sptr make();
38 };
39 
40 } /* namespace digital */
41 } /* namespace gr */
42 
43 #endif /* INCLUDED_DIGITAL_BINARY_SLICER_FB_H */
Slice float binary symbol producing 1 bit output.
Definition: binary_slicer_fb.h:29
static sptr make()
Make binary symbol slicer block.
std::shared_ptr< binary_slicer_fb > sptr
Definition: binary_slicer_fb.h:32
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29