Torc
0.1
|
#include <torcnotification.h>
Signals | |
void | Notify (const QVariantMap &Message) |
Signals inherited from TorcDevice | |
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 |
Public Member Functions inherited from TorcReferenceCounter | |
TorcReferenceCounter (void) | |
virtual | ~TorcReferenceCounter (void)=default |
void | UpRef (void) |
virtual bool | DownRef (void) |
bool | IsShared (void) |
Protected Member Functions | |
virtual | ~TorcNotification ()=default |
Protected Member Functions inherited from TorcDevice | |
virtual | ~TorcDevice () |
Protected Attributes | |
QStringList | m_notifierNames |
QList< TorcNotifier * > | m_notifiers |
QString | m_title |
QString | m_body |
Protected Attributes inherited from TorcDevice | |
double | value |
double | defaultValue |
QString | modelId |
QString | uniqueId |
QString | userName |
QString | userDescription |
QMutex | lock |
bool | wasInvalid |
Protected Attributes inherited from TorcReferenceCounter | |
QAtomicInt | m_refCount |
Additional Inherited Members | |
Public Slots inherited from TorcDevice | |
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 Public Member Functions inherited from TorcReferenceCounter | |
static void | EventLoopEnding (bool Ending) |
Static Protected Attributes inherited from TorcDevice | |
static QHash< QString, TorcDevice * > * | gDeviceList = new QHash<QString,TorcDevice*>() |
static QMutex * | gDeviceListLock = new QMutex(QMutex::Recursive) |
Static Protected Attributes inherited from TorcReferenceCounter | |
static bool | m_eventLoopEnding = false |
Properties inherited from TorcDevice | |
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.