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

Method PLLSyncTask

Tasks/PLLSyncTask.cpp:24–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#define SIGDIGGER_COSTAS_BLOCK_LENGTH 4096
23
24PLLSyncTask::PLLSyncTask(
25 const SUCOMPLEX *data,
26 SUCOMPLEX *destination,
27 size_t length,
28 SUFLOAT bw,
29 QObject *parent) :
30 Suscan::CancellableTask(parent)
31{
32 this->origin = data;
33 this->destination = destination;
34 this->length = length;
35
36 SU_ATTEMPT(su_pll_init(&this->pll, 0, bw));
37
38 this->pllInitialized = true;
39
40 this->setProgress(0);
41 this->setStatus("Processing...");
42}
43
44bool
45PLLSyncTask::work(void)

Callers

nothing calls this directly

Calls 2

setStatusMethod · 0.80
setProgressMethod · 0.45

Tested by

no test coverage detected