Class ThresholdCrosser

Class Documentation

class ThresholdCrosser

Public Functions

inline ThresholdCrosser(double threshold, Slope slope = Slope::UP)
double threshold() const
void set_threshold(double value)
Slope slope() const
void set_slope(Slope value)
bool has_crossed(double sample)
bool has_crossed_up(double sample)
bool has_crossed_down(double sample)