Torc  0.1
Public Slots | Signals | Public Member Functions | List of all members
TorcPushbulletNotifier Class Referencefinal

Send push notifications using the Pushbullet API. More...

#include <torcpushbulletnotifier.h>

Inheritance diagram for TorcPushbulletNotifier:
[legend]

Public Slots

void RequestReady (TorcNetworkRequest *Request)
 
void ResetTimerTimeout (void)
 
- 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

void StartResetTimer (int MSeconds)
 
- Signals inherited from TorcDevice
void ValidChanged (bool Valid)
 
void ValueChanged (double Value)
 

Public Member Functions

 TorcPushbulletNotifier (const QVariantMap &Details)
 
 ~TorcPushbulletNotifier ()
 
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

- 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

Send push notifications using the Pushbullet API.

Parameters
DetailsData required for the API (i.e. Acccess-Token)

Definition at line 14 of file torcpushbulletnotifier.h.

Constructor & Destructor Documentation

TorcPushbulletNotifier::TorcPushbulletNotifier ( const QVariantMap &  Details)
explicit

Definition at line 36 of file torcpushbulletnotifier.cpp.

TorcPushbulletNotifier::~TorcPushbulletNotifier ( )

Definition at line 61 of file torcpushbulletnotifier.cpp.

Member Function Documentation

QStringList TorcPushbulletNotifier::GetDescription ( void  )
overridevirtual

Reimplemented from TorcDevice.

Definition at line 75 of file torcpushbulletnotifier.cpp.

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

Implements TorcNotifier.

Definition at line 80 of file torcpushbulletnotifier.cpp.

void TorcPushbulletNotifier::RequestReady ( TorcNetworkRequest Request)
slot

Definition at line 118 of file torcpushbulletnotifier.cpp.

void TorcPushbulletNotifier::ResetTimerTimeout ( void  )
slot

Definition at line 181 of file torcpushbulletnotifier.cpp.

void TorcPushbulletNotifier::StartResetTimer ( int  MSeconds)
signal

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