Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Hysteresis< 0, T_in, T_out > Class Template Reference

#include <AH/Filters/Hysteresis.hpp>

Detailed Description

template<class T_in, class T_out>
class AH::Hysteresis< 0, T_in, T_out >

Definition at line 82 of file Hysteresis.hpp.

+ Collaboration diagram for Hysteresis< 0, T_in, T_out >:

Public Member Functions

bool update (T_in inputLevel)
 
T_out getValue () const
 
void setValue (T_in inputLevel) const
 

Private Attributes

T_in prevLevel = 0
 

Member Function Documentation

◆ update()

template<class T_in , class T_out >
bool update ( T_in inputLevel)
inline

Definition at line 84 of file Hysteresis.hpp.

◆ getValue()

template<class T_in , class T_out >
T_out getValue ( ) const
inline

Definition at line 90 of file Hysteresis.hpp.

◆ setValue()

template<class T_in , class T_out >
void setValue ( T_in inputLevel) const
inline

Definition at line 91 of file Hysteresis.hpp.

Member Data Documentation

◆ prevLevel

template<class T_in , class T_out >
T_in prevLevel = 0
private

Definition at line 94 of file Hysteresis.hpp.


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