Oscilloscope 0.5.0
A simple oscilloscope VST
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ManualSampleFinder Class Reference

#include <SampleFinder.h>

Inheritance diagram for ManualSampleFinder:
BaseFinder

Public Member Functions

void parameterChanged (const juce::String &parameterID, float newValue) override
 
- Public Member Functions inherited from BaseFinder
int findFirstSample (float triggerLevel, std::vector< float > currentlyDisplayedData)
 

Additional Inherited Members

- Protected Attributes inherited from BaseFinder
std::function< int(float, std::vector< float >)> findSample
 

Detailed Description

Class finding the first sample to plot in manual mode.

Definition at line 106 of file SampleFinder.h.

Member Function Documentation

◆ parameterChanged()

void ManualSampleFinder::parameterChanged ( const juce::String &  parameterID,
float  newValue 
)
override

Sets findSample accordingly to whether to search for crescent or decrescent slope

Parameters
parameterIDParameter to listen (always "slopeButtonTriggered")
newValuetrue if the plot has to be decrescent, false otherwise

Definition at line 29 of file SampleFinder.cpp.


The documentation for this class was generated from the following files: