MythTV  master
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UPnpEventTask Class Reference

#include <libmythupnp/upnptaskevent.h>

Inheritance diagram for UPnpEventTask:
[legend]
Collaboration diagram for UPnpEventTask:
[legend]

Public Member Functions

 UPnpEventTask (const QHostAddress &peerAddress, int nPeerPort, QByteArray *pPayload)
 
QString Name () override
 
void Execute (TaskQueue *pQueue) override
 
- Public Member Functions inherited from Task
 Task (const QString &debugName)
 
long Id () const
 
- 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

 ~UPnpEventTask () override
 
- Protected Member Functions inherited from Task
 ~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

QHostAddress m_peerAddress
 
int m_nPeerPort
 
QByteArray * m_pPayload {nullptr}
 
- Protected Attributes inherited from Task
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}
 

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...
 
- Static Protected Attributes inherited from Task
static long m_nTaskCount = 0
 

Detailed Description

Definition at line 27 of file upnptaskevent.h.

Constructor & Destructor Documentation

◆ ~UPnpEventTask()

UPnpEventTask::~UPnpEventTask ( )
overrideprotected

Definition at line 31 of file upnptaskevent.cpp.

◆ UPnpEventTask()

UPnpEventTask::UPnpEventTask ( const QHostAddress &  peerAddress,
int  nPeerPort,
QByteArray *  pPayload 
)
inline

Definition at line 43 of file upnptaskevent.h.

Member Function Documentation

◆ Name()

QString UPnpEventTask::Name ( )
inlineoverridevirtual

Implements Task.

Definition at line 52 of file upnptaskevent.h.

◆ Execute()

void UPnpEventTask::Execute ( TaskQueue pQueue)
overridevirtual

Implements Task.

Definition at line 40 of file upnptaskevent.cpp.

Member Data Documentation

◆ m_peerAddress

QHostAddress UPnpEventTask::m_peerAddress
protected

Definition at line 31 of file upnptaskevent.h.

Referenced by Execute().

◆ m_nPeerPort

int UPnpEventTask::m_nPeerPort
protected

Definition at line 32 of file upnptaskevent.h.

Referenced by Execute().

◆ m_pPayload

QByteArray* UPnpEventTask::m_pPayload {nullptr}
protected

Definition at line 33 of file upnptaskevent.h.

Referenced by Execute(), and ~UPnpEventTask().


The documentation for this class was generated from the following files: