GNU Radio 3.3.0 C++ API
|
#include <gr_rail_ff.h>
Public Member Functions | |
float | lo () const |
void | set_lo (float lo) |
float | hi () const |
void | set_hi (float hi) |
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 | |
Friends | |
gr_rail_ff_sptr | gr_make_rail_ff (float lo, float hi) |
float gr_rail_ff::hi | ( | ) | const [inline] |
Referenced by set_hi().
float gr_rail_ff::lo | ( | ) | const [inline] |
Referenced by set_lo().
void gr_rail_ff::set_hi | ( | float | hi | ) | [inline] |
References hi().
void gr_rail_ff::set_lo | ( | float | lo | ) | [inline] |
References lo().
int gr_rail_ff::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.
gr_rail_ff_sptr gr_make_rail_ff | ( | float | lo, |
float | hi | ||
) | [friend] |