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

#include <libmythupnp/upnptaskcache.h>

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

Public Member Functions

 SSDPCacheTask ()
 
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

 ~SSDPCacheTask () override=default
 
- 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

std::chrono::milliseconds m_nInterval {30s}
 
int m_nExecuteCount {0}
 
- 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 30 of file upnptaskcache.h.

Constructor & Destructor Documentation

◆ ~SSDPCacheTask()

SSDPCacheTask::~SSDPCacheTask ( )
overrideprotecteddefault

◆ SSDPCacheTask()

SSDPCacheTask::SSDPCacheTask ( )
inline

Definition at line 43 of file upnptaskcache.h.

Member Function Documentation

◆ Name()

QString SSDPCacheTask::Name ( )
inlineoverridevirtual

Implements Task.

Definition at line 50 of file upnptaskcache.h.

◆ Execute()

void SSDPCacheTask::Execute ( TaskQueue pQueue)
inlineoverridevirtual

Implements Task.

Definition at line 55 of file upnptaskcache.h.

Member Data Documentation

◆ m_nInterval

std::chrono::milliseconds SSDPCacheTask::m_nInterval {30s}
protected

Definition at line 34 of file upnptaskcache.h.

Referenced by Execute(), and SSDPCacheTask().

◆ m_nExecuteCount

int SSDPCacheTask::m_nExecuteCount {0}
protected

Definition at line 35 of file upnptaskcache.h.

Referenced by Execute().


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