rusEFI
The most advanced open source ECU
|
#include <redundant_ford_tps.h>
Public Member Functions | |
RedundantFordTps (SensorType outputType, SensorType firstSensor, SensorType secondSensor) | |
void | configure (float maxDifference, float secondaryMaximum) |
SensorResult | get () const override |
bool | isRedundant () const override |
void | showInfo (const char *sensorName) const override |
![]() | |
bool | Register () |
const char * | getSensorName () const |
virtual bool | hasSensor () const |
virtual float | getRaw () const |
void | unregister () |
SensorType | type () const |
Private Attributes | |
const SensorType | m_first |
const SensorType | m_second |
float | m_maxDifference = 0 |
float | m_secondaryMaximum = 0 |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
Sensor (SensorType type) | |
![]() | |
static bool | s_inhibitSensorTimeouts = false |
Definition at line 5 of file redundant_ford_tps.h.
RedundantFordTps::RedundantFordTps | ( | SensorType | outputType, |
SensorType | firstSensor, | ||
SensorType | secondSensor | ||
) |
Definition at line 5 of file redundant_ford_tps.cpp.
Definition at line 12 of file redundant_ford_tps.cpp.
|
overridevirtual |
Implements Sensor.
Definition at line 17 of file redundant_ford_tps.cpp.
|
inlineoverridevirtual |
Reimplemented from Sensor.
Definition at line 18 of file redundant_ford_tps.h.
|
overridevirtual |
Implements Sensor.
Definition at line 58 of file sensor_info_printing.cpp.
|
private |
Definition at line 26 of file redundant_ford_tps.h.
Referenced by get(), and showInfo().
|
private |
Definition at line 30 of file redundant_ford_tps.h.
Referenced by configure(), and get().
|
private |
Definition at line 27 of file redundant_ford_tps.h.
Referenced by get(), and showInfo().
|
private |
Definition at line 33 of file redundant_ford_tps.h.
Referenced by configure(), and get().