GNU Radio 3.6.4 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 |
Additional Inherited Members | |
![]() | |
typedef boost::shared_ptr < regenerate_bb > | sptr |
![]() | |
static sptr | make (int period, unsigned int max_regen=500) |
Make a regenerate block. |
gr::blocks::regenerate_bb_impl::regenerate_bb_impl | ( | int | period, |
unsigned int | max_regen = 500 |
||
) |
gr::blocks::regenerate_bb_impl::~regenerate_bb_impl | ( | ) |
|
inlinevirtual |
return the maximum regeneration count.
Implements gr::blocks::regenerate_bb.
|
inlinevirtual |
return the regeneration period.
Implements gr::blocks::regenerate_bb.
|
virtual |
Reset the maximum regeneration count; this will reset the current regen.
Implements gr::blocks::regenerate_bb.
|
virtual |
Reset the period of regenerations; this will reset the current regen.
Implements gr::blocks::regenerate_bb.
|
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.