GNU Radio 3.5.1 C++ API
gr_regenerate_bb.h File Reference
#include <gr_core_api.h>
#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_CORE_API gr_regenerate_bb_sptr gr_make_regenerate_bb (int period, unsigned int max_regen=500)

Function Documentation

GR_CORE_API 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.