|
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 47 of file taskqueue.h.
|
overrideprotecteddefault |
|
explicit |
Definition at line 37 of file taskqueue.cpp.
|
pure virtual |
Implemented in SSDPCacheTask, UPnpEventTask, UPnpNotifyTask, and UPnpSearchTask.
Referenced by TaskQueue::run().
|
inline |
Definition at line 63 of file taskqueue.h.
|
pure virtual |
Implemented in SSDPCacheTask, UPnpEventTask, UPnpNotifyTask, and UPnpSearchTask.
|
staticprotected |
Definition at line 50 of file taskqueue.h.
|
protected |
Definition at line 52 of file taskqueue.h.
Referenced by Id().