rusEFI
The most advanced open source ECU
|
#include <lua_hooks.h>
Public Member Functions | |
LuaOverrideSensor (SensorType type, SensorType underlyingType) | |
void | reset () |
void | setOverrideValue (float value) |
SensorResult | get () const final override |
void | showInfo (const char *sensorName) const override |
![]() | |
bool | Register () |
const char * | getSensorName () const |
virtual bool | hasSensor () const |
virtual float | getRaw () const |
virtual bool | isRedundant () const |
void | unregister () |
SensorType | type () const |
Data Fields | |
float | overrideValue = -1 |
SensorType | m_underlyingType |
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 14 of file lua_hooks.h.
|
inline |
Definition at line 15 of file lua_hooks.h.
|
inlinefinaloverridevirtual |
Implements Sensor.
Definition at line 28 of file lua_hooks.h.
|
inline |
Definition at line 20 of file lua_hooks.h.
Referenced by LuaOverrideSensor().
|
inline |
Definition at line 24 of file lua_hooks.h.
|
inlineoverridevirtual |
Implements Sensor.
Definition at line 34 of file lua_hooks.h.
SensorType LuaOverrideSensor::m_underlyingType |
Definition at line 39 of file lua_hooks.h.
Referenced by get(), and LuaOverrideSensor().
float LuaOverrideSensor::overrideValue = -1 |
Definition at line 38 of file lua_hooks.h.
Referenced by get(), reset(), setOverrideValue(), and showInfo().