openshot-audio  0.1.6
Classes | Public Member Functions | Public Attributes | List of all members
juce::ImageCache::Pimpl Class Reference
Inheritance diagram for juce::ImageCache::Pimpl:
juce::Timer juce::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

◆ Pimpl()

juce::ImageCache::Pimpl::Pimpl ( )
inline

◆ ~Pimpl()

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

Member Function Documentation

◆ addImageToCache()

void juce::ImageCache::Pimpl::addImageToCache ( const Image image,
const int64  hashCode 
)
inline

◆ getFromHashCode()

Image juce::ImageCache::Pimpl::getFromHashCode ( const int64  hashCode)
inline

◆ releaseUnusedImages()

void juce::ImageCache::Pimpl::releaseUnusedImages ( )
inline

◆ timerCallback()

void juce::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 juce::Timer.

Member Data Documentation

◆ cacheTimeout

unsigned int juce::ImageCache::Pimpl::cacheTimeout

◆ lock


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