MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / onQuadDemod

Method onQuadDemod

Components/TimeWindow.cpp:1992–2019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1990}
1991
1992void
1993TimeWindow::onQuadDemod(void)
1994{
1995 if (!this->ui->realWaveform->isComplete())
1996 return;
1997
1998 try {
1999 const SUCOMPLEX *orig;
2000 SUCOMPLEX *dest;
2001 SUSCOUNT len;
2002
2003 this->getTransformRegion(
2004 orig,
2005 dest,
2006 len,
2007 this->ui->transSelCheck->isChecked());
2008
2009 QuadDemodTask *task = new QuadDemodTask(orig, dest, len);
2010
2011 this->notifyTaskRunning(true);
2012 this->taskController.process("quadDemod", task);
2013 } catch (Suscan::Exception &e) {
2014 QMessageBox::warning(
2015 this,
2016 "Quadrature demodulator",
2017 "Cannot perform operation: " + QString(e.what()));
2018 }
2019}
2020
2021void
2022TimeWindow::onAGC(void)

Callers

nothing calls this directly

Calls 3

getTransformRegionMethod · 0.95
notifyTaskRunningMethod · 0.95
processMethod · 0.45

Tested by

no test coverage detected