Torc
0.1
|
#include <torcnotifier.h>
Public Slots | |
virtual void | Notify (const QVariantMap &Notification)=0 |
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) |
Protected Member Functions | |
TorcNotifier (const QVariantMap &Details) | |
virtual | ~TorcNotifier ()=default |
Protected Member Functions inherited from TorcDevice | |
virtual | ~TorcDevice () |
Additional Inherited Members | |
Signals inherited from TorcDevice | |
void | ValidChanged (bool Valid) |
void | ValueChanged (double Value) |
Public Member Functions inherited from TorcReferenceCounter | |
TorcReferenceCounter (void) | |
virtual | ~TorcReferenceCounter (void)=default |
void | UpRef (void) |
virtual bool | DownRef (void) |
bool | IsShared (void) |
Static Public Member Functions inherited from TorcReferenceCounter | |
static void | EventLoopEnding (bool Ending) |
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 |
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 |
This is the base notifier class. Subclass it and implement Notify to send messages to the world.
Definition at line 15 of file torcnotifier.h.
|
explicitprotected |
Definition at line 36 of file torcnotifier.cpp.
|
protectedvirtualdefault |
|
pure virtualslot |
Implemented in TorcPushbulletNotifier, and TorcLogNotifier.