|
Oscilloscope 0.5.0
A simple oscilloscope VST
|
#include <SampleFinder.h>
Public Member Functions | |
| int | findFirstSample (float triggerLevel, std::vector< float > currentlyDisplayedData) |
Protected Attributes | |
| std::function< int(float, std::vector< float >)> | findSample |
Virtual base class from where to inherit to implement all cases of how to find the first sample to plot.
Definition at line 62 of file SampleFinder.h.
| int BaseFinder::findFirstSample | ( | float | triggerLevel, |
| std::vector< float > | currentlyDisplayedData | ||
| ) |
Find first sample to plot in the current modality.
| triggerLevel | Trigger level. |
| currentlyDisplayedData | Currently displayed buffer. |
Definition at line 209 of file SampleFinder.cpp.
|
protected |
Lambda triggering the element of FindMethods corresponding to the current find modality
Definition at line 81 of file SampleFinder.h.