Torc  0.1
Public Member Functions | List of all members
TorcLogNotifier Class Referencefinal

Log notifications to the log file. More...

#include <torclognotifier.h>

Inheritance diagram for TorcLogNotifier:
[legend]

Public Member Functions

 TorcLogNotifier (const QVariantMap &Details)
 
 ~TorcLogNotifier ()=default
 
void Notify (const QVariantMap &Notification) override
 
QStringList GetDescription (void) override
 
- Public Member Functions inherited from TorcReferenceCounter
 TorcReferenceCounter (void)
 
virtual ~TorcReferenceCounter (void)=default
 
void UpRef (void)
 
virtual bool DownRef (void)
 
bool IsShared (void)
 

Additional Inherited Members

- Public Slots inherited from TorcNotifier
- 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)
 
- Signals inherited from TorcDevice
void ValidChanged (bool Valid)
 
void ValueChanged (double Value)
 
- Static Public Member Functions inherited from TorcReferenceCounter
static void EventLoopEnding (bool Ending)
 
- Protected Member Functions inherited from TorcNotifier
 TorcNotifier (const QVariantMap &Details)
 
virtual ~TorcNotifier ()=default
 
- Protected Member Functions inherited from TorcDevice
virtual ~TorcDevice ()
 
- 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
 

Detailed Description

Log notifications to the log file.

Note
This notifier requires no additional parameters.

Definition at line 7 of file torclognotifier.h.

Constructor & Destructor Documentation

TorcLogNotifier::TorcLogNotifier ( const QVariantMap &  Details)
explicit

Definition at line 32 of file torclognotifier.cpp.

TorcLogNotifier::~TorcLogNotifier ( )
default

Member Function Documentation

QStringList TorcLogNotifier::GetDescription ( void  )
overridevirtual

Reimplemented from TorcDevice.

Definition at line 38 of file torclognotifier.cpp.

void TorcLogNotifier::Notify ( const QVariantMap &  Notification)
overridevirtual

Implements TorcNotifier.

Definition at line 43 of file torclognotifier.cpp.


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