|
rusEFI
The most advanced open source ECU
|
#include <engine_parts.h>

Public Member Functions | |
| WarningCodeState () | |
| void | addWarningCode (ObdCode code, const char *text=nullptr) |
| bool | isWarningNow () const |
| bool | isWarningNow (ObdCode code) const |
| bool | hasWarningMessage () |
| const char * | getWarningMessage () |
| void | refreshTs () |
| void | clear () |
Data Fields | |
| int | warningCounter |
| ObdCode | lastErrorCode = ObdCode::None |
| const char * | description |
| Timer | timeSinceLastWarning |
| critical_msg_t | m_msg |
| warning_t * | m_msgWarning = nullptr |
| warningBuffer_t | recentWarnings |
Definition at line 55 of file engine_parts.h.
| WarningCodeState::WarningCodeState | ( | ) |
Definition at line 38 of file engine2.cpp.
Referenced by firmwareErrorV(), and warningVA().


| void WarningCodeState::clear | ( | ) |
Definition at line 32 of file engine2.cpp.
Referenced by WarningCodeState().


| const char * WarningCodeState::getWarningMessage | ( | ) |
Definition at line 107 of file engine2.cpp.
Referenced by handleGetConfigErorr().

| bool WarningCodeState::hasWarningMessage | ( | ) |
Definition at line 102 of file engine2.cpp.
Referenced by updateTunerStudioState().

| bool WarningCodeState::isWarningNow | ( | ) | const |
| forIndicator | if we want to retrieving value for TS indicator, this case a minimal period is applued |
Definition at line 114 of file engine2.cpp.
Referenced by updateTunerStudioState(), and warningVA().

Definition at line 121 of file engine2.cpp.

| void WarningCodeState::refreshTs | ( | ) |
Definition at line 65 of file engine2.cpp.
Referenced by updateTunerStudioState().


| const char* WarningCodeState::description |
Definition at line 67 of file engine_parts.h.
| ObdCode WarningCodeState::lastErrorCode = ObdCode::None |
Definition at line 66 of file engine_parts.h.
Referenced by addWarningCode(), clear(), handleTestCommand(), obdOnCanPacketRx(), populateFrame(), and refreshTs().
| critical_msg_t WarningCodeState::m_msg |
Definition at line 72 of file engine_parts.h.
Referenced by addWarningCode(), getWarningMessage(), and refreshTs().
| warning_t* WarningCodeState::m_msgWarning = nullptr |
Definition at line 73 of file engine_parts.h.
Referenced by addWarningCode(), hasWarningMessage(), and refreshTs().
| warningBuffer_t WarningCodeState::recentWarnings |
Definition at line 76 of file engine_parts.h.
Referenced by addWarningCode(), clear(), isWarningNow(), and refreshTs().
| Timer WarningCodeState::timeSinceLastWarning |
Definition at line 69 of file engine_parts.h.
Referenced by addWarningCode(), and isWarningNow().
| int WarningCodeState::warningCounter |
Definition at line 65 of file engine_parts.h.
Referenced by addWarningCode(), clear(), populateFrame(), and refreshTs().