|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Classes | |
| struct | Item |
Public Member Functions | |
| Image | getFromHashCode (const int64 hashCode) noexcept |
| void | addImageToCache (const Image &image, const int64 hashCode) |
| void | timerCallback () override |
| The user-defined callback routine that actually gets called periodically. | |
| void | releaseUnusedImages () |
Public Attributes | |
| Array< Item > | images |
| CriticalSection | lock |
| unsigned int | cacheTimeout |
Definition at line 29 of file juce_ImageCache.cpp.
| struct juce::ImageCache::Pimpl::Item |
Definition at line 104 of file juce_ImageCache.cpp.
| Class Members | ||
|---|---|---|
| int64 | hashCode | |
| Image | image | |
| uint32 | lastUseTime | |
|
override |
Definition at line 34 of file juce_ImageCache.cpp.
Definition at line 58 of file juce_ImageCache.cpp.
Definition at line 42 of file juce_ImageCache.cpp.
| void juce::ImageCache::Pimpl::releaseUnusedImages | ( | ) |
Definition at line 95 of file juce_ImageCache.cpp.
|
overridevirtual |
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.
Definition at line 70 of file juce_ImageCache.cpp.
Definition at line 113 of file juce_ImageCache.cpp.
Definition at line 111 of file juce_ImageCache.cpp.
| CriticalSection juce::ImageCache::Pimpl::lock |
Definition at line 112 of file juce_ImageCache.cpp.