11 #ifndef INCLUDED_GR_REGENERATE_BB_H
12 #define INCLUDED_GR_REGENERATE_BB_H
36 typedef std::shared_ptr<regenerate_bb>
sptr;
45 static sptr make(
int period,
unsigned int max_regen = 500);
Detect the peak of a signal and repeat every period samples.
Definition: regenerate_bb.h:33
static sptr make(int period, unsigned int max_regen=500)
Make a regenerate block.
virtual unsigned int max_regen() const =0
return the maximum regeneration count.
virtual int period() const =0
return the regeneration period.
virtual void set_period(int period)=0
Reset the period of regenerations; this will reset the current regen.
std::shared_ptr< regenerate_bb > sptr
Definition: regenerate_bb.h:36
virtual void set_max_regen(unsigned int regen)=0
Reset the maximum regeneration count; this will reset the current regen.
synchronous 1:1 input to output with history
Definition: sync_block.h:26
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29