SensESP 3.4.1-alpha
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
heat_index.h
Go to the documentation of this file.
1#ifndef SENSESP_TRANSFORMS_HEAT_INDEX_H_
2#define SENSESP_TRANSFORMS_HEAT_INDEX_H_
3
4#include <tuple>
5
6#include "transform.h"
7
8namespace sensesp {
9
18class HeatIndexTemperature : public Transform<std::tuple<float, float>, float> {
19 public:
21 virtual void set(const std::tuple<float, float>& input) override;
22};
23
31class HeatIndexEffect : public Transform<float, String> {
32 public:
34 virtual void set(const float& input) override;
35};
36
37} // namespace sensesp
38
39#endif
Transforms heat index temperature to heat index effect.
Definition heat_index.h:31
virtual void set(const float &input) override
Transforms temperature and relative humidity in heat index temperature.
Definition heat_index.h:18
virtual void set(const std::tuple< float, float > &input) override
The main Transform class. A transform is identified primarily by the type of value that is produces (...
Definition transform.h:68