14 #define NETWORK_DEVICE_STRING QStringLiteral("network") 15 #define CONSTANT_DEVICE_STRING QStringLiteral("constant") 16 #define DEVICE_LINE_ITEM QStringLiteral("|<FONT POINT-SIZE=\"10\">%1</FONT>") 17 #define DEVICE_CONSTANT QStringLiteral("Constant") 32 TorcDevice(
bool Valid,
double Value,
double Default,
33 const QString &ModelId, const QVariantMap &Details);
35 virtual
void Start (
void);
36 virtual
void Stop (
void);
37 virtual QStringList GetDescription (
void);
40 virtual
void SetValue (
double Value);
74 #endif // TORCDEVICE_H
void ValueChanged(double Value)
QString GetUserName(void)
double GetDefaultValue(void)
virtual void SetValid(bool Valid)
A reference counting implementation.
QString GetUserDescription(void)
static QMutex * gDeviceListLock
static QHash< QString, TorcDevice * > * gDeviceList
virtual void SetValue(double Value)
void ValidChanged(bool Valid)
QString GetUniqueId(void)