GNU Radio 3.3.0 C++ API
gr_regenerate_bb.h File Reference
#include <gr_sync_block.h>
Include dependency graph for gr_regenerate_bb.h:

Go to the source code of this file.

Classes

class  gr_regenerate_bb
 Detect the peak of a signal and repeat every period samplesIf a peak is detected, this block outputs a 1 repeated every period samples until reset by detection of another 1 on the input or stopped after max_regen regenerations have occurred. More...

Functions

gr_regenerate_bb_sptr gr_make_regenerate_bb (int period, unsigned int max_regen=500)

Function Documentation

gr_regenerate_bb_sptr gr_make_regenerate_bb ( int  period,
unsigned int  max_regen = 500 
)
Parameters:
periodThe number of samples between regenerations
max_regenThe maximum number of regenerations to perform; if set to ULONG_MAX, it will regenerate continuously.