Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

CICacheItem Class Reference

#include <cache.h>

List of all members.

Public Member Functions

 CICacheItem (CICache *cache, File *file)
 CICacheItem (CICache *cache, Asset *asset)
 CICacheItem ()
 ~CICacheItem ()

Public Attributes

Filefile
int64_t counter
Assetasset
Mutex * item_lock
int checked_out

Private Attributes

CICachecache


Detailed Description

Definition at line 26 of file cache.h.


Constructor & Destructor Documentation

CICacheItem::CICacheItem CICache cache,
File file
 

Definition at line 324 of file cache.C.

References File::asset, asset, checked_out, counter, CICache::edl, item_lock, EDLSession::playback_preload, CICache::preferences, Preferences::processors, EDL::session, File::set_preload(), and File::set_processors().

CICacheItem::CICacheItem CICache cache,
Asset asset
 

Definition at line 293 of file cache.C.

References checked_out, counter, Asset::divx_use_deblocking, CICache::edl, file, item_lock, EDLSession::mpeg4_deblock, File::open_file(), EDLSession::playback_preload, CICache::preferences, Preferences::processors, EDL::session, File::set_preload(), and File::set_processors().

CICacheItem::CICacheItem  )  [inline]
 

Definition at line 31 of file cache.h.

CICacheItem::~CICacheItem  ) 
 

Definition at line 339 of file cache.C.

References asset, file, and item_lock.


Member Data Documentation

Asset* CICacheItem::asset
 

Definition at line 37 of file cache.h.

Referenced by CICache::check_in(), CICache::check_out(), CICacheItem(), CICache::delete_entry(), CICache::dump(), CICache::update(), and ~CICacheItem().

CICache* CICacheItem::cache [private]
 

Definition at line 41 of file cache.h.

int CICacheItem::checked_out
 

Definition at line 39 of file cache.h.

Referenced by CICache::check_in(), CICache::check_out(), CICacheItem(), CICache::delete_entry(), and CICache::delete_oldest().

int64_t CICacheItem::counter
 

Definition at line 35 of file cache.h.

Referenced by CICache::age(), CICache::check_out(), CICacheItem(), CICache::delete_oldest(), and CICache::dump().

File* CICacheItem::file
 

Definition at line 34 of file cache.h.

Referenced by CICache::check_out(), CICacheItem(), CICache::delete_oldest(), CICache::get_memory_usage(), CICache::update(), and ~CICacheItem().

Mutex* CICacheItem::item_lock
 

Definition at line 38 of file cache.h.

Referenced by CICache::check_in(), CICache::check_out(), CICacheItem(), and ~CICacheItem().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:11 2006 for Cinelerra-svn by  doxygen 1.4.4