rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Public Member Functions
IdentityFunction Struct Reference

#include <identity_func.h>

Inheritance diagram for IdentityFunction:
Inheritance graph
[legend]
Collaboration diagram for IdentityFunction:
Collaboration graph
[legend]

Public Member Functions

SensorResult convert (float raw) const
 
void showInfo (float testRawValue) const
 
- Public Member Functions inherited from SensorConverter
 SensorConverter (const SensorConverter &)=delete
 
 SensorConverter ()=default
 

Detailed Description

Definition at line 5 of file identity_func.h.

Member Function Documentation

◆ convert()

SensorResult IdentityFunction::convert ( float  raw) const
inlinevirtual

Implements SensorConverter.

Definition at line 6 of file identity_func.h.

6 {
7 return raw;
8 }

◆ showInfo()

void IdentityFunction::showInfo ( float  testRawValue) const
virtual

Reimplemented from SensorConverter.

Definition at line 103 of file sensor_info_printing.cpp.

103 {
104 efiPrintf(" Identity function passes along value.");
105}

The documentation for this struct was generated from the following files: