rusEFI
The most advanced open source ECU
|
#include <engine_parts.h>
Public Member Functions | |
void | consumeFuel (float grams, efitick_t nowNt) |
float | getConsumedGrams () const |
float | getConsumptionGramPerSecond () const |
Private Attributes | |
float | m_consumedGrams = 0 |
float | m_rate = 0 |
Timer | m_timer |
Definition at line 27 of file engine_parts.h.
void FuelConsumptionState::consumeFuel | ( | float | grams, |
efitick_t | nowNt | ||
) |
Definition at line 84 of file engine2.cpp.
Referenced by InjectionEvent::onTriggerTooth().
float FuelConsumptionState::getConsumedGrams | ( | ) | const |
Definition at line 97 of file engine2.cpp.
Referenced by populateFrame(), and updateFuelResults().
float FuelConsumptionState::getConsumptionGramPerSecond | ( | ) | const |
Definition at line 101 of file engine2.cpp.
Referenced by handleGetDataRequest(), populateFrame(), and updateFuelResults().
|
private |
Definition at line 35 of file engine_parts.h.
Referenced by consumeFuel(), and getConsumedGrams().
|
private |
Definition at line 36 of file engine_parts.h.
Referenced by consumeFuel(), and getConsumptionGramPerSecond().
|
private |
Definition at line 38 of file engine_parts.h.
Referenced by consumeFuel().