MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / clear

Method clear

app/src/DSP.h:419–425  ·  view source on GitHub ↗

* @brief Clears retained samples and the decimation cell state. */

Source from the content-addressed store, hash-verified

417 * @brief Clears retained samples and the decimation cell state.
418 */
419 void clear()
420 {
421 time.clear();
422 value.clear();
423 cellSlots = 0;
424 nextEmit = 0.0;
425 }
426
427 /**
428 * @brief Appends one (time, value), decimating to a min/max envelope pair per cell on an

Callers 10

setDemoSessionMethod · 0.45
onProjectLoadedMethod · 0.45
onProjectFileClearedMethod · 0.45
configureMethod · 0.45
resetStateMethod · 0.45
advanceMethod · 0.45
downsampleMonotonicFunction · 0.45
downsampleTimeWindowFunction · 0.45
downsampleWindowAbsoluteFunction · 0.45
_print_statsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected