rusEFI
The most advanced open source ECU
|
#include <engine_parts.h>
Public Member Functions | |
WarningCodeState () | |
void | addWarningCode (ObdCode code) |
bool | isWarningNow () const |
bool | isWarningNow (ObdCode code) const |
void | clear () |
Data Fields | |
int | warningCounter |
ObdCode | lastErrorCode = ObdCode::None |
Timer | timeSinceLastWarning |
warningBuffer_t | recentWarnings |
Definition at line 55 of file engine_parts.h.
WarningCodeState::WarningCodeState | ( | ) |
void WarningCodeState::addWarningCode | ( | ObdCode | code | ) |
Definition at line 36 of file engine2.cpp.
Referenced by firmwareError(), and warning().
void WarningCodeState::clear | ( | ) |
Definition at line 30 of file engine2.cpp.
Referenced by WarningCodeState().
bool WarningCodeState::isWarningNow | ( | ) | const |
forIndicator | if we want to retrieving value for TS indicator, this case a minimal period is applued |
Definition at line 61 of file engine2.cpp.
Referenced by updateTunerStudioState(), and warning().
bool WarningCodeState::isWarningNow | ( | ObdCode | code | ) | const |
ObdCode WarningCodeState::lastErrorCode = ObdCode::None |
Definition at line 63 of file engine_parts.h.
Referenced by addWarningCode(), clear(), handleTestCommand(), obdOnCanPacketRx(), populateFrame(), and updateWarningCodes().
warningBuffer_t WarningCodeState::recentWarnings |
Definition at line 68 of file engine_parts.h.
Referenced by addWarningCode(), clear(), isWarningNow(), and updateWarningCodes().
Timer WarningCodeState::timeSinceLastWarning |
Definition at line 65 of file engine_parts.h.
Referenced by addWarningCode(), and isWarningNow().
int WarningCodeState::warningCounter |
Definition at line 62 of file engine_parts.h.
Referenced by addWarningCode(), clear(), populateFrame(), and updateWarningCodes().