MythTV
master
|
#include <upnptaskevent.h>
Public Member Functions | |
UPnpEventTask (QHostAddress peerAddress, int nPeerPort, QByteArray *m_pPayload) | |
QString | Name () override |
void | Execute (TaskQueue *pQueue) override |
![]() | |
Task (const QString &debugName) | |
long | Id () const |
![]() | |
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 | |
~UPnpEventTask () override | |
![]() | |
~Task () override=default | |
![]() | |
virtual | ~ReferenceCounter (void) |
Called on destruction, will warn if object deleted with references in place. More... | |
Protected Attributes | |
QHostAddress | m_peerAddress |
int | m_nPeerPort |
QByteArray * | m_pPayload {nullptr} |
![]() | |
long | m_nTaskId |
![]() | |
bool | m_logDebug |
This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More... | |
QAtomicInt | m_referenceCount {1} |
Additional Inherited Members | |
![]() | |
static void | PrintDebug (void) |
Print out any leaks if that level of debugging is enabled. More... | |
![]() | |
static long | m_nTaskCount = 0 |
Definition at line 27 of file upnptaskevent.h.
|
overrideprotected |
Definition at line 44 of file upnptaskevent.cpp.
UPnpEventTask::UPnpEventTask | ( | QHostAddress | peerAddress, |
int | nPeerPort, | ||
QByteArray * | m_pPayload | ||
) |
Definition at line 30 of file upnptaskevent.cpp.
|
inlineoverridevirtual |
Implements Task.
Definition at line 47 of file upnptaskevent.h.
|
overridevirtual |
Implements Task.
Definition at line 53 of file upnptaskevent.cpp.
|
protected |
Definition at line 31 of file upnptaskevent.h.
Referenced by Execute(), and UPnpEventTask().
|
protected |
Definition at line 32 of file upnptaskevent.h.
Referenced by Execute(), and UPnpEventTask().
|
protected |
Definition at line 33 of file upnptaskevent.h.
Referenced by Execute(), UPnpEventTask(), and ~UPnpEventTask().