|
GNU Radio 3.6.5 C++ API
|
Output a 1 or zero based on a threshold value. More...
#include <threshold_ff.h>
Public Types | |
| typedef boost::shared_ptr < threshold_ff > | sptr |
Public Member Functions | |
| virtual float | lo () const =0 |
| virtual void | set_lo (float lo)=0 |
| virtual float | hi () const =0 |
| virtual void | set_hi (float hi)=0 |
| virtual float | last_state () const =0 |
| virtual void | set_last_state (float last_state)=0 |
Static Public Member Functions | |
| static sptr | make (float lo, float hi, float initial_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.
| virtual float gr::blocks::threshold_ff::hi | ( | ) | const [pure virtual] |
Implemented in gr::blocks::threshold_ff_impl.
| virtual float gr::blocks::threshold_ff::last_state | ( | ) | const [pure virtual] |
Implemented in gr::blocks::threshold_ff_impl.
| virtual float gr::blocks::threshold_ff::lo | ( | ) | const [pure virtual] |
Implemented in gr::blocks::threshold_ff_impl.
| static sptr gr::blocks::threshold_ff::make | ( | float | lo, |
| float | hi, | ||
| float | initial_state = 0 |
||
| ) | [static] |
| virtual void gr::blocks::threshold_ff::set_hi | ( | float | hi | ) | [pure virtual] |
Implemented in gr::blocks::threshold_ff_impl.
| virtual void gr::blocks::threshold_ff::set_last_state | ( | float | last_state | ) | [pure virtual] |
Implemented in gr::blocks::threshold_ff_impl.
| virtual void gr::blocks::threshold_ff::set_lo | ( | float | lo | ) | [pure virtual] |
Implemented in gr::blocks::threshold_ff_impl.