Loading...
Searching...
No Matches
integrate.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2004,2009,2012,2018 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INTEGRATE_H
#define INTEGRATE_H
#include <gnuradio/blocks/api.h>
#include <gnuradio/sync_decimator.h>
#include <cstdint>
namespace gr {
namespace blocks {
/*!
* \brief Integrate successive samples and decimate
* \ingroup math_operators_blk
*/
template <class T>
class BLOCKS_API integrate : virtual public sync_decimator
{
public:
// gr::blocks::integrate::sptr
typedef std::shared_ptr<integrate<T>> sptr;
static sptr make(int decim, unsigned int vlen = 1);
};
typedef integrate<std::int16_t> integrate_ss;
typedef integrate<std::int32_t> integrate_ii;
typedef integrate<float> integrate_ff;
typedef integrate<gr_complex> integrate_cc;
} /* namespace blocks */
} /* namespace gr */
#endif /* INTEGRATE_H */
gr::blocks::integrate
Integrate successive samples and decimate.
Definition integrate.h:28
gr::blocks::integrate::sptr
std::shared_ptr< integrate< T > > sptr
Definition integrate.h:31
gr::blocks::integrate::make
static sptr make(int decim, unsigned int vlen=1)
gr::sync_decimator::sync_decimator
sync_decimator(void)
Definition sync_decimator.h:31
api.h
BLOCKS_API
#define BLOCKS_API
Definition gr-blocks/include/gnuradio/blocks/api.h:18
gr::blocks
Definition abs_blk.h:20
gr::blocks::integrate_cc
integrate< gr_complex > integrate_cc
Definition integrate.h:39
gr::blocks::integrate_ss
integrate< std::int16_t > integrate_ss
Definition integrate.h:36
gr::blocks::integrate_ii
integrate< std::int32_t > integrate_ii
Definition integrate.h:37
gr::blocks::integrate_ff
integrate< float > integrate_ff
Definition integrate.h:38
gr
GNU Radio logging wrapper.
Definition basic_block.h:29
sync_decimator.h