rusEFI
The most advanced open source ECU
controllers
sensors
converters
identity_func.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
sensor_converter_func.h
"
4
5
struct
IdentityFunction
:
public
SensorConverter
{
6
SensorResult
convert
(
float
raw)
const
{
7
return
raw;
8
}
9
10
void
showInfo
(
float
testRawValue)
const
;
11
};
12
13
extern
IdentityFunction
identityFunction
;
identityFunction
IdentityFunction identityFunction
Definition:
identity_func.cpp:3
SensorResult
expected< float > SensorResult
Definition:
sensor.h:55
sensor_converter_func.h
IdentityFunction
Definition:
identity_func.h:5
IdentityFunction::showInfo
void showInfo(float testRawValue) const
Definition:
sensor_info_printing.cpp:97
IdentityFunction::convert
SensorResult convert(float raw) const
Definition:
identity_func.h:6
SensorConverter
Definition:
sensor_converter_func.h:5
Generated on Tue Apr 30 2024 00:05:58 for rusEFI by
1.9.1