rusEFI
The most advanced open source ECU
|
#include <hysteresis.h>
Public Member Functions | |
template<typename RisingChecker = StrictChecker, typename FallingChecker = StrictChecker> | |
bool | test (float value, float rising, float falling) |
bool | test (bool risingCondition, bool fallingCondition) |
Private Attributes | |
bool | m_state = false |
Definition at line 19 of file hysteresis.h.
Definition at line 7 of file hysteresis.cpp.
bool Hysteresis::test | ( | float | value, |
float | rising, | ||
float | falling | ||
) |
Definition at line 31 of file hysteresis.h.
Referenced by getStage2InjectionFraction(), DfcoController::getState(), and LimpManager::updateState().
|
private |
Definition at line 27 of file hysteresis.h.
Referenced by test().