GNU Radio Manual and C++ API Reference  3.10.9.1
The Free & Open Software Radio Ecosystem
integrate.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2004,2009,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 INTEGRATE_H
13 #define INTEGRATE_H
14 
15 #include <gnuradio/blocks/api.h>
17 #include <cstdint>
18 
19 namespace gr {
20 namespace blocks {
21 
22 /*!
23  * \brief Integrate successive samples and decimate
24  * \ingroup math_operators_blk
25  */
26 template <class T>
27 class BLOCKS_API integrate : virtual public sync_decimator
28 {
29 public:
30  // gr::blocks::integrate::sptr
31  typedef std::shared_ptr<integrate<T>> sptr;
32 
33  static sptr make(int decim, unsigned int vlen = 1);
34 };
35 
40 } /* namespace blocks */
41 } /* namespace gr */
42 
43 #endif /* INTEGRATE_H */
Integrate successive samples and decimate.
Definition: integrate.h:28
std::shared_ptr< integrate< T > > sptr
Definition: integrate.h:31
static sptr make(int decim, unsigned int vlen=1)
synchronous N:1 input to output with history
Definition: sync_decimator.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
integrate< gr_complex > integrate_cc
Definition: integrate.h:39
integrate< std::int16_t > integrate_ss
Definition: integrate.h:36
integrate< std::int32_t > integrate_ii
Definition: integrate.h:37
integrate< float > integrate_ff
Definition: integrate.h:38
GNU Radio logging wrapper.
Definition: basic_block.h:29