rusEFI
The most advanced open source ECU
|
Functions | |
SensorType | findSensorTypeByName (const char *name) |
Variables | |
static SensorRegistryEntry | s_sensorRegistry [static_cast< size_t >(SensorType::PlaceholderLast)] = {} |
SensorType findSensorTypeByName | ( | const char * | name | ) |
this is definitely not the fastest implementation possible but good enough for now? todo: some sort of hashmap in the future?
Definition at line 259 of file sensor.cpp.
Referenced by findSensorByName(), and initSensorCli().
|
static |
Definition at line 129 of file sensor.cpp.
Referenced by findSensorTypeByName(), Sensor::getEntryForType(), Sensor::Register(), Sensor::resetAllMocks(), Sensor::resetRegistry(), Sensor::showAllSensorInfo(), and Sensor::unregister().