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

#include <torcthingspeaknotifier.h>

Inheritance diagram for TorcThingSpeakNotifier:
[legend]

Public Member Functions

 TorcThingSpeakNotifier (const QVariantMap &Details)
 
virtual ~TorcThingSpeakNotifier ()=default
 
void ProcessRequest (TorcNetworkRequest *Request) override
 
TorcNetworkRequestCreateRequest (void) override
 
- Public Member Functions inherited from TorcIOTLogger
 TorcIOTLogger (const QVariantMap &Details)
 
virtual ~TorcIOTLogger ()
 
QStringList GetDescription (void) overridefinal
 
- 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 TorcIOTLogger
void Notify (const QVariantMap &Notification) override
 
void DoNotify (void)
 
void RequestReady (TorcNetworkRequest *Request)
 
- Public Slots inherited from TorcNotifier
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)
 
- Signals inherited from TorcIOTLogger
void StartTimer (int Milliseconds)
 
void TryNotify (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 TorcIOTLogger
virtual bool Initialise (const QVariantMap &Details)
 
- 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 TorcIOTLogger
QString m_description
 
QTimer m_timer
 
int m_networkAbort
 
QString m_apiKey
 
int m_badRequestCount
 
int m_maxBadRequests
 
int m_maxUpdateInterval
 
QDateTime m_lastUpdate
 
QList< TorcNetworkRequest * > m_requests
 
int m_maxFields
 
QMap< QString, int > m_fields
 
QMap< int, QString > m_reverseFields
 
QString m_fieldValues [32]
 
- 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

Definition at line 7 of file torcthingspeaknotifier.h.

Constructor & Destructor Documentation

TorcThingSpeakNotifier::TorcThingSpeakNotifier ( const QVariantMap &  Details)
explicit

Definition at line 33 of file torcthingspeaknotifier.cpp.

virtual TorcThingSpeakNotifier::~TorcThingSpeakNotifier ( )
virtualdefault

Member Function Documentation

TorcNetworkRequest * TorcThingSpeakNotifier::CreateRequest ( void  )
overridevirtual

Implements TorcIOTLogger.

Definition at line 63 of file torcthingspeaknotifier.cpp.

void TorcThingSpeakNotifier::ProcessRequest ( TorcNetworkRequest Request)
overridevirtual

Implements TorcIOTLogger.

Definition at line 43 of file torcthingspeaknotifier.cpp.


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