knode
#include <knmemorymanager.h>
Classes | |
class | ArticleItem |
class | CollectionItem |
Public Member Functions | |
KNMemoryManager () | |
~KNMemoryManager () | |
void | prepareLoad (KNArticleCollection::Ptr c) |
void | removeCacheEntry (KNArticleCollection::Ptr c) |
void | removeCacheEntry (KNArticle::Ptr a) |
void | updateCacheEntry (KNArticleCollection::Ptr c) |
void | updateCacheEntry (KNArticle::Ptr a) |
Protected Member Functions | |
void | checkMemoryUsageArticles () |
void | checkMemoryUsageCollections () |
CollectionItem * | findCacheEntry (KNArticleCollection::Ptr c, bool take=false) |
ArticleItem * | findCacheEntry (KNArticle::Ptr a, bool take=false) |
Protected Attributes | |
int | a_rtCacheSize |
int | c_ollCacheSize |
ArticleItem::List | mArtList |
CollectionItem::List | mColList |
Detailed Description
Memory manager.
Definition at line 26 of file knmemorymanager.h.
Constructor & Destructor Documentation
KNMemoryManager::KNMemoryManager | ( | ) |
Definition at line 27 of file knmemorymanager.cpp.
KNMemoryManager::~KNMemoryManager | ( | ) |
Definition at line 33 of file knmemorymanager.cpp.
Member Function Documentation
|
protected |
Definition at line 182 of file knmemorymanager.cpp.
|
protected |
Definition at line 152 of file knmemorymanager.cpp.
|
protected |
Definition at line 122 of file knmemorymanager.cpp.
|
protected |
Definition at line 137 of file knmemorymanager.cpp.
void KNMemoryManager::prepareLoad | ( | KNArticleCollection::Ptr | c | ) |
try to free enough memory for this collection
Definition at line 76 of file knmemorymanager.cpp.
void KNMemoryManager::removeCacheEntry | ( | KNArticleCollection::Ptr | c | ) |
Definition at line 61 of file knmemorymanager.cpp.
void KNMemoryManager::removeCacheEntry | ( | KNArticle::Ptr | a | ) |
Definition at line 107 of file knmemorymanager.cpp.
void KNMemoryManager::updateCacheEntry | ( | KNArticleCollection::Ptr | c | ) |
Collection-Handling.
Definition at line 40 of file knmemorymanager.cpp.
void KNMemoryManager::updateCacheEntry | ( | KNArticle::Ptr | a | ) |
Article-Handling.
Definition at line 86 of file knmemorymanager.cpp.
Member Data Documentation
|
protected |
Definition at line 83 of file knmemorymanager.h.
|
protected |
Definition at line 83 of file knmemorymanager.h.
|
protected |
Definition at line 82 of file knmemorymanager.h.
|
protected |
Definition at line 81 of file knmemorymanager.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.