MythTV
master
|
#include <upnptasknotify.h>
Public Member Functions | |
UPnpNotifyTask (int nServicePort) | |
QString | Name () override |
void | Execute (TaskQueue *pQueue) override |
QString | GetNTSString () |
UPnpNotifyNTS | GetNTS () |
void | SetNTS (UPnpNotifyNTS nts) |
![]() | |
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 | |
~UPnpNotifyTask () override=default | |
void | ProcessDevice (MSocketDevice *pSocket, UPnpDevice *pDevice) |
void | SendNotifyMsg (MSocketDevice *pSocket, const QString &sNT, const QString &sUDN) |
![]() | |
~Task () override=default | |
![]() | |
virtual | ~ReferenceCounter (void) |
Called on destruction, will warn if object deleted with references in place. More... | |
Protected Attributes | |
QMutex | m_mutex |
QString | m_sMasterIP |
int | m_nServicePort |
std::chrono::seconds | m_nMaxAge {1h} |
UPnpNotifyNTS | m_eNTS {NTS_alive} |
![]() | |
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 53 of file upnptasknotify.h.
|
overrideprotecteddefault |
|
explicit |
Definition at line 46 of file upnptasknotify.cpp.
|
protected |
Definition at line 184 of file upnptasknotify.cpp.
Referenced by Execute().
|
protected |
Definition at line 58 of file upnptasknotify.cpp.
Referenced by Execute(), and ProcessDevice().
|
inlineoverridevirtual |
Implements Task.
Definition at line 78 of file upnptasknotify.h.
|
overridevirtual |
Implements Task.
Definition at line 144 of file upnptasknotify.cpp.
Referenced by SSDP::DisableNotifications(), and SSDP::EnableNotifications().
|
inline |
Definition at line 83 of file upnptasknotify.h.
Referenced by SendNotifyMsg().
|
inline |
Definition at line 99 of file upnptasknotify.h.
|
inline |
Definition at line 110 of file upnptasknotify.h.
Referenced by SSDP::DisableNotifications(), and SSDP::EnableNotifications().
|
protected |
Definition at line 57 of file upnptasknotify.h.
Referenced by Execute(), GetNTS(), GetNTSString(), SendNotifyMsg(), and SetNTS().
|
protected |
Definition at line 59 of file upnptasknotify.h.
|
protected |
Definition at line 60 of file upnptasknotify.h.
Referenced by SendNotifyMsg(), and UPnpNotifyTask().
|
protected |
Definition at line 61 of file upnptasknotify.h.
Referenced by Execute(), SendNotifyMsg(), and UPnpNotifyTask().
|
protected |
Definition at line 63 of file upnptasknotify.h.
Referenced by Execute(), GetNTS(), GetNTSString(), SendNotifyMsg(), and SetNTS().