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

#include <upnptaskevent.h>

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

Public Member Functions

 UPnpEventTask (QHostAddress peerAddress, int nPeerPort, QByteArray *m_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 44 of file upnptaskevent.cpp.

◆ UPnpEventTask()

UPnpEventTask::UPnpEventTask ( QHostAddress  peerAddress,
int  nPeerPort,
QByteArray *  m_pPayload 
)

Definition at line 30 of file upnptaskevent.cpp.

Member Function Documentation

◆ Name()

QString UPnpEventTask::Name ( void  )
inlineoverridevirtual

Implements Task.

Definition at line 47 of file upnptaskevent.h.

◆ Execute()

void UPnpEventTask::Execute ( TaskQueue pQueue)
overridevirtual

Implements Task.

Definition at line 53 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(), and UPnpEventTask().

◆ m_nPeerPort

int UPnpEventTask::m_nPeerPort
protected

Definition at line 32 of file upnptaskevent.h.

Referenced by Execute(), and UPnpEventTask().

◆ m_pPayload

QByteArray* UPnpEventTask::m_pPayload {nullptr}
protected

Definition at line 33 of file upnptaskevent.h.

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


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