GNU Radio 3.6.5 C++ API

gr::blocks::threshold_ff Class Reference

Output a 1 or zero based on a threshold value. More...

#include <threshold_ff.h>

Inheritance diagram for gr::blocks::threshold_ff:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter gr::blocks::threshold_ff_impl

List of all members.

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)

Detailed Description

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.


Member Typedef Documentation


Member Function Documentation

virtual float gr::blocks::threshold_ff::hi ( ) const [pure virtual]
virtual float gr::blocks::threshold_ff::last_state ( ) const [pure virtual]
virtual float gr::blocks::threshold_ff::lo ( ) const [pure virtual]
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]
virtual void gr::blocks::threshold_ff::set_last_state ( float  last_state) [pure virtual]
virtual void gr::blocks::threshold_ff::set_lo ( float  lo) [pure virtual]

The documentation for this class was generated from the following file: