 |
GNU Radio C++ API Reference
3.10.12.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef INCLUDED_GR_THRESHOLD_FF_H
12 #define INCLUDED_GR_THRESHOLD_FF_H
33 typedef std::shared_ptr<threshold_ff>
sptr;
42 static sptr make(
float lo,
float hi,
float initial_state = 0);
44 virtual float lo()
const = 0;
46 virtual float hi()
const = 0;
virtual void set_hi(float hi)=0
virtual void set_last_state(float last_state)=0
static sptr make(float lo, float hi, float initial_state=0)
std::shared_ptr< threshold_ff > sptr
Definition: threshold_ff.h:33
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
virtual float hi() const =0
Output a 1 or zero based on a threshold value.
Definition: threshold_ff.h:30
synchronous 1:1 input to output with history
Definition: sync_block.h:26
virtual float last_state() const =0
virtual void set_lo(float lo)=0
GNU Radio logging wrapper.
Definition: basic_block.h:29
virtual float lo() const =0