GNU Radio Manual and C++ API Reference
3.9.1.0
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
37
typedef
not_blk<std::uint8_t>
not_bb
;
38
typedef
not_blk<std::int16_t>
not_ss
;
39
typedef
not_blk<std::int32_t>
not_ii
;
40
}
/* namespace blocks */
41
}
/* namespace gr */
42
43
#endif
/* NOT_BLK_H */
api.h
gr::blocks::not_blk::sptr
std::shared_ptr< not_blk< T > > sptr
Definition:
not_blk.h:32
gr::blocks::not_ss
not_blk< std::int16_t > not_ss
Definition:
not_blk.h:38
BLOCKS_API
#define BLOCKS_API
Definition:
gr-blocks/include/gnuradio/blocks/api.h:18
gr::blocks::not_ii
not_blk< std::int32_t > not_ii
Definition:
not_blk.h:39
gr::sync_block
synchronous 1:1 input to output with history
Definition:
sync_block.h:25
sync_block.h
gr::blocks::not_bb
not_blk< std::uint8_t > not_bb
Definition:
not_blk.h:37
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr::blocks::not_blk
output = ~input
Definition:
not_blk.h:29
gr-blocks
include
gnuradio
blocks
not_blk.h
Generated by
1.8.17