GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
or_blk.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2012,2018,2020 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 OR_BLK_H
12
#define OR_BLK_H
13
14
#include <
gnuradio/blocks/api.h
>
15
#include <
gnuradio/sync_block.h
>
16
#include <cstdint>
17
18
namespace
gr
{
19
namespace
blocks {
20
21
/*!
22
* \brief output = input_0 | input_1 | , ... | input_N)
23
* \ingroup boolean_operators_blk
24
*
25
* Bitwise boolean or across all input streams.
26
*/
27
template
<
class
T>
28
class
BLOCKS_API
or_blk
:
virtual
public
sync_block
29
{
30
public
:
31
// gr::blocks::or_blk::sptr
32
typedef
std::shared_ptr<or_blk<T>>
sptr
;
33
34
static
sptr
make(
size_t
vlen = 1);
35
};
36
37
typedef
or_blk<std::uint8_t>
or_bb
;
38
typedef
or_blk<std::int16_t>
or_ss
;
39
typedef
or_blk<std::int32_t>
or_ii
;
40
}
/* namespace blocks */
41
}
/* namespace gr */
42
43
#endif
/* OR_BLK_H */
api.h
gr::blocks::or_ii
or_blk< std::int32_t > or_ii
Definition:
or_blk.h:39
BLOCKS_API
#define BLOCKS_API
Definition:
gr-blocks/include/gnuradio/blocks/api.h:18
gr::blocks::or_bb
or_blk< std::uint8_t > or_bb
Definition:
or_blk.h:37
gr::sync_block
synchronous 1:1 input to output with history
Definition:
sync_block.h:25
gr::blocks::or_ss
or_blk< std::int16_t > or_ss
Definition:
or_blk.h:38
sync_block.h
gr::blocks::or_blk::sptr
std::shared_ptr< or_blk< T > > sptr
Definition:
or_blk.h:32
gr::blocks::or_blk
output = input_0 | input_1 | , ... | input_N)
Definition:
or_blk.h:28
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr-blocks
include
gnuradio
blocks
or_blk.h
Generated by
1.8.17