MythTV
master
|
#include <libmythupnp/taskqueue.h>
Public Member Functions | |
Task (const QString &debugName) | |
long | Id () const |
virtual void | Execute (TaskQueue *pQueue)=0 |
virtual QString | Name ()=0 |
Public Member Functions inherited from ReferenceCounter | |
ReferenceCounter (const QString &debugName, bool logDebug=true) | |
Creates reference counter with an initial value of 1. More... | |
virtual int | IncrRef (void) |
Increments reference count. More... | |
virtual int | DecrRef (void) |
Decrements reference count and deletes on 0. More... | |
Protected Member Functions | |
~Task () override=default | |
Protected Member Functions inherited from ReferenceCounter | |
virtual | ~ReferenceCounter (void) |
Called on destruction, will warn if object deleted with references in place. More... | |
Protected Attributes | |
long | m_nTaskId |
Protected Attributes inherited from ReferenceCounter | |
bool | m_logDebug |
This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More... | |
QAtomicInt | m_referenceCount {1} |
Static Protected Attributes | |
static long | m_nTaskCount = 0 |
Additional Inherited Members | |
Static Public Member Functions inherited from ReferenceCounter | |
static void | PrintDebug (void) |
Print out any leaks if that level of debugging is enabled. More... | |
Definition at line 54 of file taskqueue.h.
|
overrideprotecteddefault |
|
explicit |
Definition at line 42 of file taskqueue.cpp.
|
inline |
Definition at line 70 of file taskqueue.h.
|
pure virtual |
Implemented in UPnpNotifyTask, UPnpSearchTask, SSDPCacheTask, and UPnpEventTask.
Referenced by TaskQueue::run().
|
pure virtual |
Implemented in UPnpNotifyTask, UPnpSearchTask, UPnpEventTask, and SSDPCacheTask.
|
staticprotected |
Definition at line 57 of file taskqueue.h.
|
protected |
Definition at line 59 of file taskqueue.h.
Referenced by Id().