44 std::shared_ptr<BitmapCache> pCache,
45 const Size& rPreviewSize,
46 const bool bDoSuperSampling,
59 void Start (
int nPriorityClass);
66 const bool bDoSuperSampling);
This factory class creates preview bitmaps for page objects.
This queue processor is timer based, i.e.
void SetBitmapCache(const std::shared_ptr< BitmapCache > &rpCache)
Use this method when the page cache is (maybe) using a different BitmapCache.
std::mutex maMutex
This mutex is used to guard the queue processor.
void ProcessOneRequest(CacheKey aKey, const RequestPriorityClass ePriorityClass)
DECL_LINK(ProcessRequestHdl, Timer *, void)
BitmapFactory maBitmapFactory
std::shared_ptr< BitmapCache > mpCache
QueueProcessor(RequestQueue &rQueue, std::shared_ptr< BitmapCache > pCache, const Size &rPreviewSize, const bool bDoSuperSampling, SharedCacheContext pCacheContext)
void Start(int nPriorityClass)
Start the processor.
void SetPreviewSize(const Size &rSize, const bool bDoSuperSampling)
SharedCacheContext mpCacheContext
The request queue stores requests that are described by the Request sorted according to priority clas...
RequestPriorityClass
Each request for a preview creation has a priority.
std::shared_ptr< CacheContext > SharedCacheContext