33#include <NDEVR/Device.h>
42 , e_temperature_invalid
44 , e_temperature_warning
45 , e_temperature_critical
50 [[nodiscard]]
virtual TemperatureState temperatureState()
const;
51 [[nodiscard]]
virtual TemperatureState temperatureState(
fltp08 temp)
const;
53 void setTemperature(
fltp08 temperature);
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:57
Definition ProgressInfo.hpp:43
Definition TemperatureSensor.h:37
Bounds< 1, fltp08 > noCriticalRange()
Definition TemperatureSensor.h:59
TemperatureState
Definition TemperatureSensor.h:40
Bounds< 1, fltp08 > noWarningRange()
Definition TemperatureSensor.h:58
Bounds< 1, fltp08 > m_valid_range
Definition TemperatureSensor.h:61
void setNoWarningRange(const Bounds< 1, fltp08 > &range)
Definition TemperatureSensor.h:56
Bounds< 1, fltp08 > validRange()
Definition TemperatureSensor.h:57
fltp08 m_temperature
Definition TemperatureSensor.h:64
void setNoCriticalRange(const Bounds< 1, fltp08 > &range)
Definition TemperatureSensor.h:55
Bounds< 1, fltp08 > m_no_critical_range
Definition TemperatureSensor.h:62
void setValidRange(const Bounds< 1, fltp08 > &range)
Definition TemperatureSensor.h:54
Bounds< 1, fltp08 > m_no_warning_range
Definition TemperatureSensor.h:63
fltp08 temperature() const
Definition TemperatureSensor.h:49
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:181