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;
57 virtual void set_lo (
float lo) = 0;
58 virtual float hi ()
const = 0;
59 virtual void set_hi (
float hi) = 0;
60 virtual float last_state ()
const = 0;
61 virtual void set_last_state (
float last_state) = 0;
Output a 1 or zero based on a threshold value.
Definition: threshold_ff.h:41
Include this header to use the message passing features.
Definition: logger.h:131
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
boost::shared_ptr< threshold_ff > sptr
Definition: threshold_ff.h:45