21#ifndef INCLUDED_MESA_SIGNALDETECTOR_H
22#define INCLUDED_MESA_SIGNALDETECTOR_H
24#include <gnuradio/sync_block.h>
37 typedef std::shared_ptr<SignalDetector>
sptr;
47 static sptr make(
int fftsize,
float squelchThreshold,
double minWidthHz,
48 double maxWidthHz,
double radioCenterFreq,
double sampleRate,
49 float holdUpSec,
int framesToAvg,
bool genSignalPDUs,
50 bool enableDebug,
int detectionMethod);
#define MESA_API
Definition api.h:31
<+description of block+>
Definition SignalDetector.h:35
virtual float getSquelch() const =0
static sptr make(int fftsize, float squelchThreshold, double minWidthHz, double maxWidthHz, double radioCenterFreq, double sampleRate, float holdUpSec, int framesToAvg, bool genSignalPDUs, bool enableDebug, int detectionMethod)
Return a shared_ptr to a new instance of mesa::SignalDetector.
virtual void setMinWidthHz(double newValue)=0
virtual void setMaxWidthHz(double newValue)=0
virtual void setCenterFrequency(double newValue)=0
std::shared_ptr< SignalDetector > sptr
Definition SignalDetector.h:37
virtual double getMinWidthHz() const =0
virtual double getMaxWidthHz() const =0
virtual double getCenterFrequency() const =0
virtual void setSquelch(float newValue)=0
Definition AutoDopplerCorrect.h:28
Definition AutoDopplerCorrect.h:27