GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
rail_ff.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* Copyright 2004,2012 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_ANALOG_RAIL_FF_H
12
#define INCLUDED_ANALOG_RAIL_FF_H
13
14
#include <
gnuradio/analog/api.h
>
15
#include <
gnuradio/sync_block.h
>
16
17
namespace
gr
{
18
namespace
analog {
19
20
/*!
21
* \brief clips input values to min, max
22
* \ingroup level_controllers_blk
23
*/
24
class
ANALOG_API
rail_ff
:
virtual
public
sync_block
25
{
26
public
:
27
// gr::analog::rail_ff::sptr
28
typedef
std::shared_ptr<rail_ff>
sptr
;
29
30
/*!
31
* Build a rail block.
32
*
33
* \param lo the low value to clip to.
34
* \param hi the high value to clip to.
35
*/
36
static
sptr
make(
float
lo,
float
hi);
37
38
virtual
float
lo()
const
= 0;
39
virtual
float
hi()
const
= 0;
40
41
virtual
void
set_lo(
float
lo) = 0;
42
virtual
void
set_hi(
float
hi) = 0;
43
};
44
45
}
/* namespace analog */
46
}
/* namespace gr */
47
48
#endif
/* INCLUDED_ANALOG_RAIL_FF_H */
gr::analog::rail_ff
clips input values to min, max
Definition:
rail_ff.h:24
ANALOG_API
#define ANALOG_API
Definition:
gr-analog/include/gnuradio/analog/api.h:18
gr::sync_block
synchronous 1:1 input to output with history
Definition:
sync_block.h:25
sync_block.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
api.h
gr::analog::rail_ff::sptr
std::shared_ptr< rail_ff > sptr
Definition:
rail_ff.h:28
gr-analog
include
gnuradio
analog
rail_ff.h
Generated by
1.8.17