MythTV
master
|
#include <upnptasksearch.h>
Public Member Functions | |
UPnpSearchTask (int nServicePort, QHostAddress peerAddress, int nPeerPort, QString sST, QString sUDN) | |
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 | |
~UPnpSearchTask () override=default | |
void | ProcessDevice (MSocketDevice *pSocket, UPnpDevice *pDevice) |
void | SendMsg (MSocketDevice *pSocket, const QString &sST, const QString &sUDN) |
![]() | |
~Task () override=default | |
![]() | |
virtual | ~ReferenceCounter (void) |
Called on destruction, will warn if object deleted with references in place. More... | |
Protected Attributes | |
QList< QHostAddress > | m_addressList |
int | m_nServicePort |
std::chrono::seconds | m_nMaxAge {1h} |
QHostAddress | m_peerAddress |
int | m_nPeerPort |
QString | m_sST |
QString | m_sUDN |
![]() | |
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 41 of file upnptasksearch.h.
|
overrideprotecteddefault |
UPnpSearchTask::UPnpSearchTask | ( | int | nServicePort, |
QHostAddress | peerAddress, | ||
int | nPeerPort, | ||
QString | sST, | ||
QString | sUDN | ||
) |
Definition at line 48 of file upnptasksearch.cpp.
|
protected |
Definition at line 202 of file upnptasksearch.cpp.
Referenced by Execute().
|
protected |
Definition at line 68 of file upnptasksearch.cpp.
Referenced by Execute(), and ProcessDevice().
|
inlineoverridevirtual |
Implements Task.
Definition at line 74 of file upnptasksearch.h.
|
overridevirtual |
Implements Task.
Definition at line 162 of file upnptasksearch.cpp.
|
protected |
Definition at line 45 of file upnptasksearch.h.
Referenced by Execute().
|
protected |
Definition at line 46 of file upnptasksearch.h.
Referenced by SendMsg(), and UPnpSearchTask().
|
protected |
Definition at line 47 of file upnptasksearch.h.
Referenced by SendMsg(), and UPnpSearchTask().
|
protected |
Definition at line 49 of file upnptasksearch.h.
Referenced by SendMsg(), and UPnpSearchTask().
|
protected |
Definition at line 50 of file upnptasksearch.h.
Referenced by SendMsg(), and UPnpSearchTask().
|
protected |
Definition at line 51 of file upnptasksearch.h.
Referenced by Execute(), and UPnpSearchTask().
|
protected |
Definition at line 52 of file upnptasksearch.h.
Referenced by Execute(), and UPnpSearchTask().