|
GNU Radio 3.6.4.1 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 | |
Public Types inherited from gr::blocks::regenerate_bb | |
| typedef boost::shared_ptr < regenerate_bb > | sptr |
Static Public Member Functions inherited from gr::blocks::regenerate_bb | |
| static sptr | make (int period, unsigned int max_regen=500) |
| Make a regenerate block. | |
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::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.