GNU Radio 3.6.5 C++ API
|
#include <regenerate_bb_impl.h>
Public Member Functions | |
regenerate_bb_impl (int period, unsigned int max_regen=500) | |
~regenerate_bb_impl () | |
void | set_max_regen (unsigned int regen) |
Reset the maximum regeneration count; this will reset the current regen. | |
void | set_period (int period) |
Reset the period of regenerations; this will reset the current regen. | |
unsigned int | max_regen () const |
return the maximum regeneration count. | |
int | period () const |
return the regeneration period. | |
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::regenerate_bb_impl::regenerate_bb_impl | ( | int | period, |
unsigned int | max_regen = 500 |
||
) |
gr::blocks::regenerate_bb_impl::~regenerate_bb_impl | ( | ) |
unsigned int gr::blocks::regenerate_bb_impl::max_regen | ( | ) | const [inline, virtual] |
return the maximum regeneration count.
Implements gr::blocks::regenerate_bb.
int gr::blocks::regenerate_bb_impl::period | ( | ) | const [inline, virtual] |
return the regeneration period.
Implements gr::blocks::regenerate_bb.
void gr::blocks::regenerate_bb_impl::set_max_regen | ( | unsigned int | regen | ) | [virtual] |
Reset the maximum regeneration count; this will reset the current regen.
Implements gr::blocks::regenerate_bb.
void gr::blocks::regenerate_bb_impl::set_period | ( | int | period | ) | [virtual] |
Reset the period of regenerations; this will reset the current regen.
Implements gr::blocks::regenerate_bb.
int gr::blocks::regenerate_bb_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.