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


Public Types | |
| typedef SensorResult(* | functionFunctionPtr) (SensorResult) |
Public Member Functions | |
| ProxySensor (SensorType type) | |
| void | setProxiedSensor (SensorType proxiedSensor) |
| void | showInfo (const char *sensorName) const override |
| bool | isRedundant () const override |
| void | setConverter (functionFunctionPtr p_converter) |
Public Member Functions inherited from Sensor | |
| bool | Register () |
| const char * | getSensorName () const |
| virtual float | getRaw () const |
| void | unregister () |
| SensorType | type () const |
Private Member Functions | |
| SensorResult | get () const override |
| bool | hasSensor () const override |
Private Attributes | |
| functionFunctionPtr | converter |
| SensorType | m_proxiedSensor = SensorType::Invalid |
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 16 of file proxy_sensor.h.
| typedef SensorResult(* ProxySensor::functionFunctionPtr) (SensorResult) |
Definition at line 31 of file proxy_sensor.h.
|
inlineexplicit |
Definition at line 18 of file proxy_sensor.h.
|
inlineoverrideprivatevirtual |
Implements Sensor.
Definition at line 42 of file proxy_sensor.h.

|
inlineoverrideprivatevirtual |
Reimplemented from Sensor.
Definition at line 47 of file proxy_sensor.h.

|
inlineoverridevirtual |
Reimplemented from Sensor.
Definition at line 26 of file proxy_sensor.h.

|
inline |
Definition at line 33 of file proxy_sensor.h.
Referenced by initTps().

|
inline |
Definition at line 20 of file proxy_sensor.h.
Referenced by initFluidPressure(), and initTps().

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

|
private |
Definition at line 38 of file proxy_sensor.h.
Referenced by get(), and setConverter().
|
private |
Definition at line 52 of file proxy_sensor.h.
Referenced by get(), hasSensor(), isRedundant(), setProxiedSensor(), and showInfo().