Torc
0.1
|
#include <torciotlogger.h>
Public Slots | |
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 | |
void | StartTimer (int Milliseconds) |
void | TryNotify (void) |
Signals inherited from TorcDevice | |
void | ValidChanged (bool Valid) |
void | ValueChanged (double Value) |
Public Member Functions | |
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) |
Protected Member Functions | |
virtual bool | Initialise (const QVariantMap &Details) |
virtual void | ProcessRequest (TorcNetworkRequest *Request)=0 |
virtual TorcNetworkRequest * | CreateRequest (void)=0 |
Protected Member Functions inherited from TorcNotifier | |
TorcNotifier (const QVariantMap &Details) | |
virtual | ~TorcNotifier ()=default |
Protected Member Functions inherited from TorcDevice | |
virtual | ~TorcDevice () |
Protected Attributes | |
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 |
Additional Inherited Members | |
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 |
Definition at line 14 of file torciotlogger.h.
|
explicit |
Definition at line 29 of file torciotlogger.cpp.
|
virtual |
Definition at line 50 of file torciotlogger.cpp.
|
protectedpure virtual |
Implemented in TorcIoTPlotterNotifier, and TorcThingSpeakNotifier.
|
slot |
Definition at line 143 of file torciotlogger.cpp.
|
finaloverridevirtual |
Reimplemented from TorcDevice.
Definition at line 108 of file torciotlogger.cpp.
|
protectedvirtual |
Definition at line 64 of file torciotlogger.cpp.
|
overrideslot |
Definition at line 118 of file torciotlogger.cpp.
|
protectedpure virtual |
Implemented in TorcIoTPlotterNotifier, and TorcThingSpeakNotifier.
|
slot |
Definition at line 182 of file torciotlogger.cpp.
|
signal |
|
signal |
|
protected |
Definition at line 42 of file torciotlogger.h.
|
protected |
Definition at line 43 of file torciotlogger.h.
|
protected |
Definition at line 39 of file torciotlogger.h.
|
protected |
Definition at line 49 of file torciotlogger.h.
|
protected |
Definition at line 51 of file torciotlogger.h.
|
protected |
Definition at line 46 of file torciotlogger.h.
|
protected |
Definition at line 44 of file torciotlogger.h.
|
protected |
Definition at line 48 of file torciotlogger.h.
|
protected |
Definition at line 45 of file torciotlogger.h.
|
protected |
Definition at line 41 of file torciotlogger.h.
|
protected |
Definition at line 47 of file torciotlogger.h.
|
protected |
Definition at line 50 of file torciotlogger.h.
|
protected |
Definition at line 40 of file torciotlogger.h.