GNU Radio 3.6.5 C++ API

gr::blocks::threshold_ff_impl Class Reference

#include <threshold_ff_impl.h>

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

List of all members.

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

Constructor & Destructor Documentation

gr::blocks::threshold_ff_impl::threshold_ff_impl ( float  lo,
float  hi,
float  initial_state = 0 
)
gr::blocks::threshold_ff_impl::~threshold_ff_impl ( )

Member Function Documentation

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.


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