Torc
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
inputs
torctemperatureinput.h
Go to the documentation of this file.
1
#ifndef TORCTEMPERATUREINPUT_H
2
#define TORCTEMPERATUREINPUT_H
3
4
// Torc
5
#include "
torcinput.h
"
6
7
class
TorcTemperatureInput
:
public
TorcInput
8
{
9
Q_OBJECT
10
11
public
:
12
TorcTemperatureInput
(
double
Value,
double
RangeMinimum,
double
RangeMaximum,
13
const
QString &ModelId,
const
QVariantMap &Details);
14
virtual
~TorcTemperatureInput
() =
default
;
15
16
QStringList
GetDescription
(
void
)
override
;
17
TorcInput::Type
GetType
(
void
)
override
;
18
void
Start
(
void
)
override
;
19
20
static
double
CelsiusToFahrenheit
(
double
Value);
21
static
double
FahrenheitToCelsius
(
double
Value);
22
};
23
24
#endif // TORCTEMPERATUREINPUT_H
TorcTemperatureInput::FahrenheitToCelsius
static double FahrenheitToCelsius(double Value)
Definition:
torctemperatureinput.cpp:50
TorcTemperatureInput::Start
void Start(void) override
Definition:
torctemperatureinput.cpp:39
TorcTemperatureInput::~TorcTemperatureInput
virtual ~TorcTemperatureInput()=default
TorcInput
Definition:
torcinput.h:14
TorcTemperatureInput::CelsiusToFahrenheit
static double CelsiusToFahrenheit(double Value)
Definition:
torctemperatureinput.cpp:45
TorcTemperatureInput
Definition:
torctemperatureinput.h:7
TorcTemperatureInput::GetDescription
QStringList GetDescription(void) override
Definition:
torctemperatureinput.cpp:29
TorcTemperatureInput::GetType
TorcInput::Type GetType(void) override
Definition:
torctemperatureinput.cpp:34
torcinput.h
TorcInput::Type
Type
Definition:
torcinput.h:24
TorcTemperatureInput::TorcTemperatureInput
TorcTemperatureInput(double Value, double RangeMinimum, double RangeMaximum, const QString &ModelId, const QVariantMap &Details)
Definition:
torctemperatureinput.cpp:23
Generated on Sat Jan 5 2019 21:54:03 for Torc by
1.8.11