#include <torcinput.h>
|
| TorcInput (TorcInput::Type Type, double Value, double RangeMinimum, double RangeMaximum, const QString &ModelId, const QVariantMap &Details) |
|
virtual TorcInput::Type | GetType (void)=0 |
|
virtual void | Start (void) override |
|
QString | GetUIName (void) override |
|
| TorcReferenceCounter (void) |
|
virtual | ~TorcReferenceCounter (void)=default |
|
void | UpRef (void) |
|
virtual bool | DownRef (void) |
|
bool | IsShared (void) |
|
| TorcHTTPService (QObject *Parent, const QString &Signature, const QString &Name, const QMetaObject &MetaObject, const QString &Blacklist=QStringLiteral("")) |
|
virtual | ~TorcHTTPService () |
|
void | ProcessHTTPRequest (const QString &PeerAddress, int PeerPort, const QString &LocalAddress, int LocalPort, TorcHTTPRequest &Request) override |
|
QVariantMap | ProcessRequest (const QString &Method, const QVariant &Parameters, QObject *Connection, bool Authenticated) override |
|
QString | GetMethod (int Index) |
|
QVariant | GetProperty (int Index) |
| Get the value of a given property. More...
|
|
QVariantMap | GetServiceDetails (void) |
| Return a QVariantMap describing the services methods and properties. More...
|
|
virtual QString | GetPresentationURL (void) |
|
Public Member Functions inherited from TorcHTTPHandler |
| TorcHTTPHandler (const QString &Signature, const QString &Name) |
|
virtual | ~TorcHTTPHandler () |
|
QString | Signature (void) const |
|
bool | GetRecursive (void) const |
|
QString | Name (void) const |
|
Definition at line 14 of file torcinput.h.
Enumerator |
---|
Unknown |
|
Temperature |
|
pH |
|
Switch |
|
PWM |
|
Button |
|
Started |
|
Integer |
|
MaxType |
|
Definition at line 24 of file torcinput.h.
TorcInput::TorcInput |
( |
TorcInput::Type |
Type, |
|
|
double |
Value, |
|
|
double |
RangeMinimum, |
|
|
double |
RangeMaximum, |
|
|
const QString & |
ModelId, |
|
|
const QVariantMap & |
Details |
|
) |
| |
virtual TorcInput::~TorcInput |
( |
| ) |
|
|
protectedvirtualdefault |
double TorcInput::GetOperatingRangeMax |
( |
void |
| ) |
|
|
slot |
double TorcInput::GetOperatingRangeMin |
( |
void |
| ) |
|
|
slot |
bool TorcInput::GetOutOfRangeHigh |
( |
void |
| ) |
|
|
slot |
bool TorcInput::GetOutOfRangeLow |
( |
void |
| ) |
|
|
slot |
QString TorcInput::GetUIName |
( |
void |
| ) |
|
|
overridevirtual |
void TorcInput::OutOfRangeHighChanged |
( |
bool |
Value | ) |
|
|
signal |
void TorcInput::OutOfRangeLowChanged |
( |
bool |
Value | ) |
|
|
signal |
void TorcInput::SetValid |
( |
bool |
Valid | ) |
|
|
finalslot |
void TorcInput::SetValue |
( |
double |
Value | ) |
|
|
overrideslot |
Update the inputs value.
This will update both value and valueScaled and emit change signals iff necessary.
Definition at line 90 of file torcinput.cpp.
void TorcInput::Start |
( |
void |
| ) |
|
|
overridevirtual |
Reimplemented in TorcPiSwitchInput, TorcNetworkButtonInput, TorcTemperatureInput, TorcIntegerInput, TorcpHInput, TorcPWMInput, TorcSwitchInput, TorcNetworkIntegerInput, TorcNetworkpHInput, TorcNetworkPWMInput, TorcNetworkSwitchInput, and TorcNetworkTemperatureInput.
Definition at line 65 of file torcinput.cpp.
void TorcInput::SubscriberDeleted |
( |
QObject * |
Subscriber | ) |
|
|
slot |
double TorcInput::operatingRangeMax |
|
read |
double TorcInput::operatingRangeMin |
|
read |
bool TorcInput::outOfRangeHigh |
|
read |
bool TorcInput::outOfRangeLow |
|
read |
The documentation for this class was generated from the following files: