#include <gr_sync_block.h>
Go to the source code of this file.
Classes | |
class | gr_regenerate_bb |
Detect the peak of a signal and repeat every period samples
If 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... | |
Typedefs | |
typedef boost::shared_ptr < gr_regenerate_bb > | gr_regenerate_bb_sptr |
Functions | |
gr_regenerate_bb_sptr | gr_make_regenerate_bb (int period, unsigned int max_regen=500) |
gr_regenerate_bb_sptr gr_make_regenerate_bb | ( | int | period, | |
unsigned int | max_regen = 500 | |||
) |
period | The number of samples between regenerations | |
max_regen | The maximum number of regenerations to perform; if set to ULONG_MAX, it will regenerate continuously. |