overlap_cc.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2013-2021 Sylvain Munaut <tnt@246tNt.com>
*
* This file is part of gr-fosphor
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#include <gnuradio/fosphor/api.h>
#include <gnuradio/sync_interpolator.h>
#include <gnuradio/fft/window.h>
namespace gr {
namespace fosphor {
/*!
* \brief Block preparing an overlapped version of the stream
* \ingroup fosphor
*/
class GR_FOSPHOR_API overlap_cc : virtual public gr::sync_interpolator
{
public:
typedef std::shared_ptr<overlap_cc> sptr;
static sptr make(int wlen, int overlap);
virtual void set_overlap_ratio(const int overlap) = 0;
};
} // namespace fosphor
} // namespace gr
api.h
GR_FOSPHOR_API
#define GR_FOSPHOR_API
Definition api.h:17
gr::fosphor::overlap_cc
Block preparing an overlapped version of the stream.
Definition overlap_cc.h:25
gr::fosphor::overlap_cc::set_overlap_ratio
virtual void set_overlap_ratio(const int overlap)=0
gr::fosphor::overlap_cc::sptr
std::shared_ptr< overlap_cc > sptr
Definition overlap_cc.h:27
gr::fosphor::overlap_cc::make
static sptr make(int wlen, int overlap)
gr::fosphor
Definition base_sink_c.h:18
gr
Definition base_sink_c.h:17