GNU Radio 3.6.5 C++ API
|
#include <threshold_ff_impl.h>
Public Member Functions | |
threshold_ff_impl (float lo, float hi, float initial_state=0) | |
~threshold_ff_impl () | |
float | lo () const |
void | set_lo (float lo) |
float | hi () const |
void | set_hi (float hi) |
float | last_state () const |
void | set_last_state (float last_state) |
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
just like gr_block::general_work, only this arranges to call consume_each for you |
gr::blocks::threshold_ff_impl::threshold_ff_impl | ( | float | lo, |
float | hi, | ||
float | initial_state = 0 |
||
) |
gr::blocks::threshold_ff_impl::~threshold_ff_impl | ( | ) |
float gr::blocks::threshold_ff_impl::hi | ( | ) | const [inline, virtual] |
Implements gr::blocks::threshold_ff.
Referenced by set_hi().
float gr::blocks::threshold_ff_impl::last_state | ( | ) | const [inline, virtual] |
Implements gr::blocks::threshold_ff.
Referenced by set_last_state().
float gr::blocks::threshold_ff_impl::lo | ( | ) | const [inline, virtual] |
Implements gr::blocks::threshold_ff.
Referenced by set_lo().
void gr::blocks::threshold_ff_impl::set_hi | ( | float | hi | ) | [inline, virtual] |
Implements gr::blocks::threshold_ff.
References hi().
void gr::blocks::threshold_ff_impl::set_last_state | ( | float | last_state | ) | [inline, virtual] |
Implements gr::blocks::threshold_ff.
References last_state().
void gr::blocks::threshold_ff_impl::set_lo | ( | float | lo | ) | [inline, virtual] |
Implements gr::blocks::threshold_ff.
References lo().
int gr::blocks::threshold_ff_impl::work | ( | int | noutput_items, |
gr_vector_const_void_star & | input_items, | ||
gr_vector_void_star & | output_items | ||
) | [virtual] |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.