GNU Radio's TEST Package
overlap_cc.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2013-2021 Sylvain Munaut <tnt@246tNt.com>
4 *
5 * This file is part of gr-fosphor
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 */
9
10#pragma once
11
13
14#include <gnuradio/sync_interpolator.h>
15#include <gnuradio/fft/window.h>
16
17namespace gr {
18 namespace fosphor {
19
20 /*!
21 * \brief Block preparing an overlapped version of the stream
22 * \ingroup fosphor
23 */
24 class GR_FOSPHOR_API overlap_cc : virtual public gr::sync_interpolator
25 {
26 public:
27 typedef std::shared_ptr<overlap_cc> sptr;
28
29 static sptr make(int wlen, int overlap);
30
31 virtual void set_overlap_ratio(const int overlap) = 0;
32 };
33
34 } // namespace fosphor
35} // namespace gr
#define GR_FOSPHOR_API
Definition api.h:17
Block preparing an overlapped version of the stream.
Definition overlap_cc.h:25
virtual void set_overlap_ratio(const int overlap)=0
std::shared_ptr< overlap_cc > sptr
Definition overlap_cc.h:27
static sptr make(int wlen, int overlap)
Definition base_sink_c.h:17
Definition private.h:31