GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
stretch_ff.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2008,2013 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 INCLUDED_GR_STRETCH_FF_H
12
#define INCLUDED_GR_STRETCH_FF_H
13
14
#include <
gnuradio/blocks/api.h
>
15
#include <
gnuradio/sync_block.h
>
16
17
namespace
gr
{
18
namespace
blocks {
19
20
/*!
21
* \brief adjust y-range of an input vector by mapping to range
22
* (max-of-input, stipulated-min). Primarily for spectral
23
* signature matching by normalizing spectrum dynamic ranges.
24
* \ingroup stream_operators_blk
25
*/
26
class
BLOCKS_API
stretch_ff
:
virtual
public
sync_block
27
{
28
public
:
29
// gr::blocks::stretch_ff::sptr
30
typedef
std::shared_ptr<stretch_ff>
sptr
;
31
32
/*!
33
* \brief Make a stretch block.
34
*
35
* \param lo Set low value for range.
36
* \param vlen vector length of input stream.
37
*/
38
static
sptr
make(
float
lo,
size_t
vlen = 1);
39
40
virtual
float
lo()
const
= 0;
41
virtual
void
set_lo(
float
lo) = 0;
42
virtual
size_t
vlen()
const
= 0;
43
};
44
45
}
/* namespace blocks */
46
}
/* namespace gr */
47
48
#endif
/* INCLUDED_GR_STRETCH_FF_H */
api.h
gr::blocks::stretch_ff
adjust y-range of an input vector by mapping to range (max-of-input, stipulated-min)....
Definition:
stretch_ff.h:26
BLOCKS_API
#define BLOCKS_API
Definition:
gr-blocks/include/gnuradio/blocks/api.h:18
gr::sync_block
synchronous 1:1 input to output with history
Definition:
sync_block.h:25
gr::blocks::stretch_ff::sptr
std::shared_ptr< stretch_ff > sptr
Definition:
stretch_ff.h:30
sync_block.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr-blocks
include
gnuradio
blocks
stretch_ff.h
Generated by
1.8.17