 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef INCLUDED_GR_THRESHOLD_FF_H
24 #define INCLUDED_GR_THRESHOLD_FF_H
45 typedef boost::shared_ptr<threshold_ff>
sptr;
54 static sptr make(
float lo,
float hi,
float initial_state = 0);
56 virtual float lo()
const = 0;
58 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)
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
virtual float hi() const =0
Output a 1 or zero based on a threshold value.
Definition: threshold_ff.h:42
boost::shared_ptr< threshold_ff > sptr
Definition: threshold_ff.h:45
synchronous 1:1 input to output with history
Definition: sync_block.h:38
virtual float last_state() const =0
virtual void set_lo(float lo)=0
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
virtual float lo() const =0