Torc
0.1
|
#include <torcnotification.h>
Signals | |
void | Notify (const QVariantMap &Message) |
![]() | |
void | ValidChanged (bool Valid) |
void | ValueChanged (double Value) |
Public Member Functions | |
TorcNotification (const QVariantMap &Details) | |
virtual bool | Setup (void) |
virtual bool | IsKnownInput (const QString &UniqueId) |
virtual QStringList | GetDescription (void)=0 |
virtual void | Graph (QByteArray *Data)=0 |
![]() | |
TorcReferenceCounter (void) | |
virtual | ~TorcReferenceCounter (void)=default |
void | UpRef (void) |
virtual bool | DownRef (void) |
bool | IsShared (void) |
Protected Member Functions | |
virtual | ~TorcNotification ()=default |
![]() | |
virtual | ~TorcDevice () |
Protected Attributes | |
QStringList | m_notifierNames |
QList< TorcNotifier * > | m_notifiers |
QString | m_title |
QString | m_body |
![]() | |
double | value |
double | defaultValue |
QString | modelId |
QString | uniqueId |
QString | userName |
QString | userDescription |
QMutex | lock |
bool | wasInvalid |
![]() | |
QAtomicInt | m_refCount |
Additional Inherited Members | |
![]() | |
virtual void | SetValue (double Value) |
virtual void | SetValid (bool Valid) |
bool | GetValid (void) |
double | GetValue (void) |
double | GetDefaultValue (void) |
QString | GetModelId (void) |
QString | GetUniqueId (void) |
QString | GetUserName (void) |
QString | GetUserDescription (void) |
![]() | |
static void | EventLoopEnding (bool Ending) |
![]() | |
static QHash< QString, TorcDevice * > * | gDeviceList = new QHash<QString,TorcDevice*>() |
static QMutex * | gDeviceListLock = new QMutex(QMutex::Recursive) |
![]() | |
static bool | m_eventLoopEnding = false |
![]() | |
bool | valid |
TorcNotification is the base notification class.
Definition at line 8 of file torcnotification.h.
|
explicit |
Definition at line 32 of file torcnotification.cpp.
|
protectedvirtualdefault |
|
pure virtual |
Reimplemented from TorcDevice.
Implemented in TorcTriggerNotification, and TorcSystemNotification.
|
pure virtual |
Implemented in TorcTriggerNotification, and TorcSystemNotification.
|
virtual |
Reimplemented in TorcTriggerNotification.
Definition at line 85 of file torcnotification.cpp.
|
signal |
|
virtual |
Reimplemented in TorcTriggerNotification.
Definition at line 61 of file torcnotification.cpp.
|
protected |
Definition at line 29 of file torcnotification.h.
|
protected |
Definition at line 26 of file torcnotification.h.
|
protected |
Definition at line 27 of file torcnotification.h.
|
protected |
Definition at line 28 of file torcnotification.h.