23 #ifndef INCLUDED_GR_THRESHOLD_FF_H
24 #define INCLUDED_GR_THRESHOLD_FF_H
53 static sptr make(
float lo,
float hi,
float initial_state=0);
55 virtual float lo ()
const = 0;
56 virtual void set_lo (
float lo) = 0;
57 virtual float hi ()
const = 0;
58 virtual void set_hi (
float hi) = 0;
59 virtual float last_state ()
const = 0;
60 virtual void set_last_state (
float last_state) = 0;
Output a 1 or zero based on a threshold value.Test the incoming signal against a threshold. If the signal excedes the hi value, it will output a 1 until the signal falls below the lo value.
Definition: threshold_ff.h:40
Definition: gr_sync_block.h:27
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
boost::shared_ptr< threshold_ff > sptr
Definition: threshold_ff.h:44
#define BLOCKS_API
Definition: gr-blocks/include/blocks/api.h:30