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


Public Member Functions | |
| LinearFunc (float divideInput=1.0f) | |
| void | configure (float in1, float out1, float in2, float out2, float minOutput, float maxOutput) |
| SensorResult | convert (float inputValue) const override |
| void | showInfo (float testRawValue) const override |
| float | getDivideInput () const |
Public Member Functions inherited from SensorConverter | |
| SensorConverter (const SensorConverter &)=delete | |
| SensorConverter ()=default | |
Private Attributes | |
| float | m_a = 1 |
| float | m_b = 0 |
| float | m_minOutput = 0 |
| float | m_maxOutput = 0 |
| const float | m_divideInput |
Definition at line 5 of file linear_func.h.
|
inline |
Definition at line 7 of file linear_func.h.
| void LinearFunc::configure | ( | float | in1, |
| float | out1, | ||
| float | in2, | ||
| float | out2, | ||
| float | minOutput, | ||
| float | maxOutput | ||
| ) |
Definition at line 5 of file linear_func.cpp.
Referenced by initFluidPressure(), initSentLinearSensor(), and initVbatt().

|
overridevirtual |
Implements SensorConverter.
Definition at line 16 of file linear_func.cpp.
Referenced by showInfo().

|
inline |
Definition at line 15 of file linear_func.h.
|
overridevirtual |
Reimplemented from SensorConverter.
Definition at line 87 of file sensor_info_printing.cpp.

|
private |
Definition at line 22 of file linear_func.h.
Referenced by configure(), convert(), and showInfo().
|
private |
Definition at line 23 of file linear_func.h.
Referenced by configure(), convert(), and showInfo().
|
private |
Definition at line 29 of file linear_func.h.
Referenced by configure(), and getDivideInput().
|
private |
Definition at line 26 of file linear_func.h.
Referenced by configure(), convert(), and showInfo().
|
private |
Definition at line 25 of file linear_func.h.
Referenced by configure(), convert(), and showInfo().