33#include <NDEVR/Device.h>
46 , e_temperature_invalid
48 , e_temperature_warning
49 , e_temperature_critical
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:52
A root class which describes some physical object, such as a Motor, Sensor, or Connection....
Definition Device.h:52
A core class that represents a node on model heirarchy. This node may contain a Geometry or one or mo...
Definition Model.h:58
A light-weight base class for Log that allows processes to update, without the need for additional in...
Definition ProgressInfo.hpp:48
A Device responsible for determining the temperature of either the environment or a specific componen...
Definition TemperatureSensor.h:41
Bounds< 1, fltp08 > noCriticalRange()
Definition TemperatureSensor.h:63
TemperatureState
Definition TemperatureSensor.h:44
virtual TemperatureState temperatureState() const
Bounds< 1, fltp08 > noWarningRange()
Definition TemperatureSensor.h:62
void setTemperature(fltp08 temperature)
Bounds< 1, fltp08 > m_valid_range
Definition TemperatureSensor.h:65
void setNoWarningRange(const Bounds< 1, fltp08 > &range)
Definition TemperatureSensor.h:60
Bounds< 1, fltp08 > validRange()
Definition TemperatureSensor.h:61
fltp08 m_temperature
Definition TemperatureSensor.h:68
void setNoCriticalRange(const Bounds< 1, fltp08 > &range)
Definition TemperatureSensor.h:59
TemperatureSensor(const Model &name, ProgressInfo *log, QObject *parent=nullptr)
Bounds< 1, fltp08 > m_no_critical_range
Definition TemperatureSensor.h:66
void setValidRange(const Bounds< 1, fltp08 > &range)
Definition TemperatureSensor.h:58
virtual TemperatureState temperatureState(fltp08 temp) const
Bounds< 1, fltp08 > m_no_warning_range
Definition TemperatureSensor.h:67
fltp08 temperature() const
Definition TemperatureSensor.h:53
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149