rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
controllers
sensors
core
functional_sensor_base.h
Go to the documentation of this file.
1
//
2
// Created by kifir on 12/20/24.
3
//
4
5
#pragma once
6
7
#include "
stored_value_sensor.h
"
8
9
class
FunctionalSensorBase
:
public
StoredValueSensor
{
10
protected
:
11
FunctionalSensorBase
(
SensorType
type
,
efidur_t
timeoutPeriod);
12
public
:
13
virtual
void
postRawValue
(
float
inputValue, efitick_t timestamp) = 0;
14
};
FunctionalSensorBase
Definition
functional_sensor_base.h:9
FunctionalSensorBase::postRawValue
virtual void postRawValue(float inputValue, efitick_t timestamp)=0
Sensor::type
SensorType type() const
Definition
sensor.h:162
StoredValueSensor
Base class for sensors that compute a value on one thread, and want to make it available to consumers...
Definition
stored_value_sensor.h:30
efidur_t
efitick_t efidur_t
Definition
rusefi_types.h:42
SensorType
SensorType
Definition
sensor_type.h:18
stored_value_sensor.h
Base class for a sensor that has its value asynchronously set, then later retrieved by a consumer.
Generated on Sat Sep 27 2025 00:10:06 for rusEFI by
1.9.8