Torc  0.1
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TorcNotification Class Referenceabstract

#include <torcnotification.h>

Inheritance diagram for TorcNotification:
[legend]

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
 

Detailed Description

TorcNotification is the base notification class.

Definition at line 8 of file torcnotification.h.

Constructor & Destructor Documentation

TorcNotification::TorcNotification ( const QVariantMap &  Details)
explicit

Definition at line 32 of file torcnotification.cpp.

virtual TorcNotification::~TorcNotification ( )
protectedvirtualdefault

Member Function Documentation

virtual QStringList TorcNotification::GetDescription ( void  )
pure virtual

Reimplemented from TorcDevice.

Implemented in TorcTriggerNotification, and TorcSystemNotification.

virtual void TorcNotification::Graph ( QByteArray *  Data)
pure virtual
bool TorcNotification::IsKnownInput ( const QString &  UniqueId)
virtual

Reimplemented in TorcTriggerNotification.

Definition at line 85 of file torcnotification.cpp.

void TorcNotification::Notify ( const QVariantMap &  Message)
signal
bool TorcNotification::Setup ( void  )
virtual

Reimplemented in TorcTriggerNotification.

Definition at line 61 of file torcnotification.cpp.

Member Data Documentation

QString TorcNotification::m_body
protected

Definition at line 29 of file torcnotification.h.

QStringList TorcNotification::m_notifierNames
protected

Definition at line 26 of file torcnotification.h.

QList<TorcNotifier*> TorcNotification::m_notifiers
protected

Definition at line 27 of file torcnotification.h.

QString TorcNotification::m_title
protected

Definition at line 28 of file torcnotification.h.


The documentation for this class was generated from the following files: