GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
not_blk.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2012,2018 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 
12 #ifndef NOT_BLK_H
13 #define NOT_BLK_H
14 
15 #include <gnuradio/blocks/api.h>
16 #include <gnuradio/sync_block.h>
17 #include <cstdint>
18 
19 namespace gr {
20 namespace blocks {
21 
22 /*!
23  * \brief output = ~input
24  * \ingroup boolean_operators_blk
25  *
26  * bitwise boolean not of input streams.
27  */
28 template <class T>
29 class BLOCKS_API not_blk : virtual public sync_block
30 {
31 public:
32  typedef std::shared_ptr<not_blk<T>> sptr;
33 
34  static sptr make(size_t vlen = 1);
35 };
36 
40 } /* namespace blocks */
41 } /* namespace gr */
42 
43 #endif /* NOT_BLK_H */
output = ~input
Definition: not_blk.h:30
std::shared_ptr< not_blk< T > > sptr
Definition: not_blk.h:32
static sptr make(size_t vlen=1)
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
not_blk< std::uint8_t > not_bb
Definition: not_blk.h:37
not_blk< std::int16_t > not_ss
Definition: not_blk.h:38
not_blk< std::int32_t > not_ii
Definition: not_blk.h:39
GNU Radio logging wrapper.
Definition: basic_block.h:29