openshot-audio  0.1.2
Classes | Public Member Functions | Public Attributes | List of all members
ImageCache::Pimpl Class Reference
Inheritance diagram for ImageCache::Pimpl:
Timer DeletedAtShutdown

Classes

struct  Item
 

Public Member Functions

 Pimpl ()
 
 ~Pimpl ()
 
Image getFromHashCode (const int64 hashCode)
 
void addImageToCache (const Image &image, const int64 hashCode)
 
void timerCallback () override
 
void releaseUnusedImages ()
 

Public Attributes

unsigned int cacheTimeout
 
juce_DeclareSingleton_SingleThreaded_Minimal(ImageCache::Pimpl) private CriticalSection lock
 

Constructor & Destructor Documentation

ImageCache::Pimpl::Pimpl ( )
inline
ImageCache::Pimpl::~Pimpl ( )
inline

Member Function Documentation

void ImageCache::Pimpl::addImageToCache ( const Image image,
const int64  hashCode 
)
inline
Image ImageCache::Pimpl::getFromHashCode ( const int64  hashCode)
inline
void ImageCache::Pimpl::releaseUnusedImages ( )
inline
void ImageCache::Pimpl::timerCallback ( )
inlineoverridevirtual

The user-defined callback routine that actually gets called periodically.

It's perfectly ok to call startTimer() or stopTimer() from within this callback to change the subsequent intervals.

Implements Timer.

Member Data Documentation

unsigned int ImageCache::Pimpl::cacheTimeout

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