 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef INCLUDED_GR_REGENERATE_BB_H
24 #define INCLUDED_GR_REGENERATE_BB_H
48 typedef boost::shared_ptr<regenerate_bb>
sptr;
57 static sptr make(
int period,
unsigned int max_regen = 500);
#define BLOCKS_API
Definition: gr-blocks/include/gnuradio/blocks/api.h:30
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:38
virtual void set_period(int period)=0
Reset the period of regenerations; this will reset the current regen.
boost::shared_ptr< regenerate_bb > sptr
Definition: regenerate_bb.h:48
virtual int period() const =0
return the regeneration period.
static sptr make(int period, unsigned int max_regen=500)
Make a regenerate block.
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
virtual unsigned int max_regen() const =0
return the maximum regeneration count.
Detect the peak of a signal and repeat every period samples.
Definition: regenerate_bb.h:45