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


Public Member Functions | |
| FallbackSensor (SensorType outputType, SensorType primarySensor, SensorType fallbackSensor) | |
| SensorResult | get () const override |
| void | showInfo (const char *sensorName) const override |
Public Member Functions inherited from Sensor | |
| bool | Register () |
| const char * | getSensorName () const |
| virtual bool | hasSensor () const |
| virtual float | getRaw () const |
| virtual bool | isRedundant () const |
| void | unregister () |
| SensorType | type () const |
Private Attributes | |
| const SensorType | m_primary |
| const SensorType | m_fallback |
Additional Inherited Members | |
Static Public Member Functions inherited from Sensor | |
| static void | showAllSensorInfo () |
| static void | showInfo (SensorType type) |
| static void | resetRegistry () |
| static const Sensor * | getSensorOfType (SensorType type) |
| static SensorResult | get (SensorType type) |
| static float | getOrZero (SensorType type) |
| static float | getRaw (SensorType type) |
| static bool | isRedundant (SensorType type) |
| static bool | hasSensor (SensorType type) |
| static void | setMockValue (SensorType type, float value, bool mockRedundant=false) |
| static void | setInvalidMockValue (SensorType type) |
| static void | resetMockValue (SensorType type) |
| static void | resetAllMocks () |
| static void | inhibitTimeouts (bool inhibit) |
| static const char * | getSensorName (SensorType type) |
Protected Member Functions inherited from Sensor | |
| Sensor (SensorType type) | |
Static Protected Attributes inherited from Sensor | |
| static bool | s_inhibitSensorTimeouts = false |
Definition at line 5 of file fallback_sensor.h.
|
inline |
Definition at line 7 of file fallback_sensor.h.
|
inlineoverridevirtual |
Implements Sensor.
Definition at line 14 of file fallback_sensor.h.

|
overridevirtual |
Implements Sensor.
Definition at line 62 of file sensor_info_printing.cpp.

|
private |
Definition at line 28 of file fallback_sensor.h.
Referenced by get(), and showInfo().
|
private |
Definition at line 27 of file fallback_sensor.h.
Referenced by get(), and showInfo().