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

Method deserialize

Default/FFT/FFTWidget.cpp:37–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#define LOAD(field) this->field = conf.get(STRINGFY(field), this->field)
36
37void
38FFTWidgetConfig::deserialize(Suscan::Object const &conf)
39{
40 LOAD(collapsed);
41 LOAD(averaging);
42 LOAD(panWfRatio);
43 LOAD(peakDetect);
44 LOAD(peakHold);
45 LOAD(filled);
46 LOAD(panRangeMin);
47 LOAD(panRangeMax);
48 LOAD(wfRangeMin);
49 LOAD(wfRangeMax);
50 LOAD(palette);
51 LOAD(zoom);
52 LOAD(rangeLock);
53 LOAD(timeSpan);
54 LOAD(timeStamps);
55 LOAD(bookmarks);
56 LOAD(unitName);
57 LOAD(zeroPoint);
58 LOAD(gain);
59}
60
61Suscan::Object &&
62FFTWidgetConfig::serialize(void)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected