GNU Radio 3.6.5 C++ API

gr::blocks::regenerate_bb_impl Class Reference

#include <regenerate_bb_impl.h>

Inheritance diagram for gr::blocks::regenerate_bb_impl:
gr::blocks::regenerate_bb gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

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

Constructor & Destructor Documentation

gr::blocks::regenerate_bb_impl::regenerate_bb_impl ( int  period,
unsigned int  max_regen = 500 
)
gr::blocks::regenerate_bb_impl::~regenerate_bb_impl ( )

Member Function Documentation

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.


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