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

Method deserialize

Default/GenericInspector/GenericInspector.cpp:31–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29#define LOAD(field) this->field = conf.get(STRINGFY(field), this->field)
30
31void
32GenericInspectorConfig::deserialize(Suscan::Object const &conf)
33{
34 LOAD(spectrumPalette);
35 LOAD(spectrumRatio);
36 LOAD(waveFormPalette);
37 LOAD(waveFormOffset);
38 LOAD(waveFormContrast);
39 LOAD(peakHold);
40 LOAD(peakDetect);
41 LOAD(units);
42 LOAD(gain);
43 LOAD(zeroPoint);
44}
45
46Suscan::Object &&
47GenericInspectorConfig::serialize(void)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected