GNU Radio's MESA Package
gr::mesa::AutoDopplerCorrect_impl Class Reference

#include <AutoDopplerCorrect_impl.h>

Inheritance diagram for gr::mesa::AutoDopplerCorrect_impl:
gr::mesa::AutoDopplerCorrect

Public Member Functions

 AutoDopplerCorrect_impl (double freq, double sampleRate, double maxDrift, double minWidth, double expectedWidth, int shiftHolddownMS, int fft_size, float squelchThreshold, int framesToAvg, float holdUpSec, bool processMessages, int detectionMethod)
 ~AutoDopplerCorrect_impl ()
virtual bool stop ()
virtual int processData (int noutput_items, const gr_complex *in, gr_complex *out, pmt::pmt_t *pMetadata, bool testMode=false)
void handleMsgIn (pmt::pmt_t msg)
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
virtual float getSquelch () const
virtual void setSquelch (float newValue)
virtual double getCenterFrequency () const
virtual void setCenterFrequency (double newValue)
virtual double getMinWidthHz () const
virtual void setMinWidthHz (double newValue)
virtual double getExpectedWidth () const
virtual void setExpectedWidth (double newValue)
virtual double getMaxDrift () const
virtual void setMaxDrift (double newValue)

Protected Member Functions

virtual void sendMessageData (gr_complex *data, long datasize, double signalCenterFreq, double signalWidth, float maxPower, pmt::pmt_t *pMetadata)
void sendState (bool state)

Protected Attributes

boost::mutex d_mutex
EnergyAnalyzerpEnergyAnalyzer
int d_detectionMethod
gr::fxpt_nco d_nco
gr_complex * pMsgOutBuff
int msgBufferSize
double d_sampleRate
double d_centerFreq
double d_maxDrift
double d_expectedWidth
int d_shiftHolddownMS
bool d_processMessages
int d_framesToAvg
int d_fftSize
double d_minWidthHz
double d_maxWidthHz
bool d_startInitialized
float d_holdUpSec
double d_currentFreqShiftDelta
std::chrono::time_point< std::chrono::steady_clock > lastSeen
std::chrono::time_point< std::chrono::steady_clock > lastShifted

Additional Inherited Members

Public Types inherited from gr::mesa::AutoDopplerCorrect
typedef std::shared_ptr< AutoDopplerCorrectsptr
Static Public Member Functions inherited from gr::mesa::AutoDopplerCorrect
static sptr make (double freq, double sampleRate, double maxDrift, double minWidth, double expectedWidth, int shiftHolddownMS, int fft_size, float squelchThreshold, int framesToAvg, float holdUpSec, bool processMessages, int detectionMethod)
 Return a shared_ptr to a new instance of mesa::AutoDopplerCorrect.

Constructor & Destructor Documentation

◆ AutoDopplerCorrect_impl()

gr::mesa::AutoDopplerCorrect_impl::AutoDopplerCorrect_impl ( double freq,
double sampleRate,
double maxDrift,
double minWidth,
double expectedWidth,
int shiftHolddownMS,
int fft_size,
float squelchThreshold,
int framesToAvg,
float holdUpSec,
bool processMessages,
int detectionMethod )

◆ ~AutoDopplerCorrect_impl()

gr::mesa::AutoDopplerCorrect_impl::~AutoDopplerCorrect_impl ( )

Member Function Documentation

◆ getCenterFrequency()

virtual double gr::mesa::AutoDopplerCorrect_impl::getCenterFrequency ( ) const
virtual

◆ getExpectedWidth()

virtual double gr::mesa::AutoDopplerCorrect_impl::getExpectedWidth ( ) const
virtual

◆ getMaxDrift()

virtual double gr::mesa::AutoDopplerCorrect_impl::getMaxDrift ( ) const
virtual

◆ getMinWidthHz()

virtual double gr::mesa::AutoDopplerCorrect_impl::getMinWidthHz ( ) const
virtual

◆ getSquelch()

virtual float gr::mesa::AutoDopplerCorrect_impl::getSquelch ( ) const
virtual

◆ handleMsgIn()

void gr::mesa::AutoDopplerCorrect_impl::handleMsgIn ( pmt::pmt_t msg)

◆ processData()

virtual int gr::mesa::AutoDopplerCorrect_impl::processData ( int noutput_items,
const gr_complex * in,
gr_complex * out,
pmt::pmt_t * pMetadata,
bool testMode = false )
virtual

◆ sendMessageData()

virtual void gr::mesa::AutoDopplerCorrect_impl::sendMessageData ( gr_complex * data,
long datasize,
double signalCenterFreq,
double signalWidth,
float maxPower,
pmt::pmt_t * pMetadata )
protectedvirtual

◆ sendState()

void gr::mesa::AutoDopplerCorrect_impl::sendState ( bool state)
protected

◆ setCenterFrequency()

virtual void gr::mesa::AutoDopplerCorrect_impl::setCenterFrequency ( double newValue)
virtual

◆ setExpectedWidth()

virtual void gr::mesa::AutoDopplerCorrect_impl::setExpectedWidth ( double newValue)
virtual

◆ setMaxDrift()

virtual void gr::mesa::AutoDopplerCorrect_impl::setMaxDrift ( double newValue)
virtual

◆ setMinWidthHz()

virtual void gr::mesa::AutoDopplerCorrect_impl::setMinWidthHz ( double newValue)
virtual

◆ setSquelch()

virtual void gr::mesa::AutoDopplerCorrect_impl::setSquelch ( float newValue)
virtual

◆ stop()

virtual bool gr::mesa::AutoDopplerCorrect_impl::stop ( )
virtual

◆ work()

int gr::mesa::AutoDopplerCorrect_impl::work ( int noutput_items,
gr_vector_const_void_star & input_items,
gr_vector_void_star & output_items )

Member Data Documentation

◆ d_centerFreq

double gr::mesa::AutoDopplerCorrect_impl::d_centerFreq
protected

◆ d_currentFreqShiftDelta

double gr::mesa::AutoDopplerCorrect_impl::d_currentFreqShiftDelta
protected

◆ d_detectionMethod

int gr::mesa::AutoDopplerCorrect_impl::d_detectionMethod
protected

◆ d_expectedWidth

double gr::mesa::AutoDopplerCorrect_impl::d_expectedWidth
protected

◆ d_fftSize

int gr::mesa::AutoDopplerCorrect_impl::d_fftSize
protected

◆ d_framesToAvg

int gr::mesa::AutoDopplerCorrect_impl::d_framesToAvg
protected

◆ d_holdUpSec

float gr::mesa::AutoDopplerCorrect_impl::d_holdUpSec
protected

◆ d_maxDrift

double gr::mesa::AutoDopplerCorrect_impl::d_maxDrift
protected

◆ d_maxWidthHz

double gr::mesa::AutoDopplerCorrect_impl::d_maxWidthHz
protected

◆ d_minWidthHz

double gr::mesa::AutoDopplerCorrect_impl::d_minWidthHz
protected

◆ d_mutex

boost::mutex gr::mesa::AutoDopplerCorrect_impl::d_mutex
protected

◆ d_nco

gr::fxpt_nco gr::mesa::AutoDopplerCorrect_impl::d_nco
protected

◆ d_processMessages

bool gr::mesa::AutoDopplerCorrect_impl::d_processMessages
protected

◆ d_sampleRate

double gr::mesa::AutoDopplerCorrect_impl::d_sampleRate
protected

◆ d_shiftHolddownMS

int gr::mesa::AutoDopplerCorrect_impl::d_shiftHolddownMS
protected

◆ d_startInitialized

bool gr::mesa::AutoDopplerCorrect_impl::d_startInitialized
protected

◆ lastSeen

std::chrono::time_point<std::chrono::steady_clock> gr::mesa::AutoDopplerCorrect_impl::lastSeen
protected

◆ lastShifted

std::chrono::time_point<std::chrono::steady_clock> gr::mesa::AutoDopplerCorrect_impl::lastShifted
protected

◆ msgBufferSize

int gr::mesa::AutoDopplerCorrect_impl::msgBufferSize
protected

◆ pEnergyAnalyzer

EnergyAnalyzer* gr::mesa::AutoDopplerCorrect_impl::pEnergyAnalyzer
protected

◆ pMsgOutBuff

gr_complex* gr::mesa::AutoDopplerCorrect_impl::pMsgOutBuff
protected

The documentation for this class was generated from the following file: