SSDPCacheEntries Class Reference

#include <ssdpcache.h>

Inheritance diagram for SSDPCacheEntries:

RefCounted

List of all members.


Detailed Description

Definition at line 28 of file ssdpcache.h.


Public Member Functions

 SSDPCacheEntries ()
void Lock ()
void Unlock ()
void Clear ()
int Count ()
DeviceLocationFind (const QString &sUSN)
void Insert (const QString &sUSN, DeviceLocation *pEntry)
void Remove (const QString &sUSN)
int RemoveStale (const TaskTime &ttNow)
EntryMapGetEntryMap ()

Static Public Attributes

static int g_nAllocated = 0

Protected Member Functions

virtual ~SSDPCacheEntries ()

Protected Attributes

QMutex m_mutex
EntryMap m_mapEntries

Constructor & Destructor Documentation

SSDPCacheEntries::~SSDPCacheEntries (  )  [protected, virtual]

Definition at line 35 of file ssdpcache.cpp.

SSDPCacheEntries::SSDPCacheEntries (  ) 

Definition at line 25 of file ssdpcache.cpp.


Member Function Documentation

void SSDPCacheEntries::Lock ( void   )  [inline]

void SSDPCacheEntries::Unlock ( void   )  [inline]

void SSDPCacheEntries::Clear ( void   ) 

Definition at line 47 of file ssdpcache.cpp.

Referenced by ~SSDPCacheEntries().

int SSDPCacheEntries::Count ( void   )  [inline]

DeviceLocation * SSDPCacheEntries::Find ( const QString &  sUSN  ) 

Definition at line 70 of file ssdpcache.cpp.

Referenced by SSDPCache::Add(), and SSDPCache::Find().

void SSDPCacheEntries::Insert ( const QString &  sUSN,
DeviceLocation pEntry 
)

Definition at line 89 of file ssdpcache.cpp.

Referenced by SSDPCache::Add().

void SSDPCacheEntries::Remove ( const QString &  sUSN  ) 

Definition at line 116 of file ssdpcache.cpp.

Referenced by SSDPCache::Remove(), and RemoveStale().

int SSDPCacheEntries::RemoveStale ( const TaskTime ttNow  ) 

Definition at line 139 of file ssdpcache.cpp.

Referenced by SSDPCache::RemoveStale().

EntryMap* SSDPCacheEntries::GetEntryMap (  )  [inline]


Member Data Documentation

QMutex SSDPCacheEntries::m_mutex [protected]

Reimplemented from RefCounted.

Definition at line 36 of file ssdpcache.h.

Referenced by Lock(), and Unlock().

Definition at line 37 of file ssdpcache.h.

Referenced by Clear(), Count(), Find(), GetEntryMap(), Insert(), Remove(), and RemoveStale().


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

Generated on Sat Dec 18 05:16:11 2010 for MythTV by  doxygen 1.5.5