|
GNU Radio 3.6.4.1 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 | |
Additional Inherited Members | |
Public Types inherited from gr::blocks::threshold_ff | |
| typedef boost::shared_ptr < threshold_ff > | sptr |
Static Public Member Functions inherited from gr::blocks::threshold_ff | |
| static sptr | make (float lo, float hi, float initial_state=0) |
Protected Types inherited from gr_basic_block | |
| enum | vcolor { WHITE, GREY, BLACK } |
Protected Member Functions inherited from gr_sync_block | |
| gr_sync_block (void) | |
| gr_sync_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature) | |
Protected Attributes inherited from gr_block | |
| std::vector< long > | d_max_output_buffer |
| std::vector< long > | d_min_output_buffer |
| gruel::mutex | d_setlock |
| gr::blocks::threshold_ff_impl::threshold_ff_impl | ( | float | lo, |
| float | hi, | ||
| float | initial_state = 0 |
||
| ) |
| gr::blocks::threshold_ff_impl::~threshold_ff_impl | ( | ) |
|
inlinevirtual |
Implements gr::blocks::threshold_ff.
Referenced by set_hi().
|
inlinevirtual |
Implements gr::blocks::threshold_ff.
Referenced by set_last_state().
|
inlinevirtual |
Implements gr::blocks::threshold_ff.
Referenced by set_lo().
|
inlinevirtual |
Implements gr::blocks::threshold_ff.
References hi().
|
inlinevirtual |
Implements gr::blocks::threshold_ff.
References last_state().
|
inlinevirtual |
Implements gr::blocks::threshold_ff.
References lo().
|
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.