Dali 3D User Interface Engine
Classes | Typedefs
Dali::Internal::ImageFactoryCache Namespace Reference

Classes

class  RequestLifetimeObserver
 The RequestLifetimeObserver observes the lifetime of image requests. More...
 
struct  Request
 Request is a reference counted object to control the lifetime of elements in ImageFactory's cache. More...
 

Typedefs

typedef unsigned int RequestId
 Unique ID for image resource requests. More...
 
typedef std::multimap< size_t,
RequestId
RequestPathHashMap
 
typedef std::pair< size_t,
RequestId
RequestPathHashPair
 
typedef std::map< RequestId,
Request * > 
RequestIdMap
 
typedef std::pair< RequestId,
Request * > 
RequestIdPair
 
typedef IntrusivePtr< RequestRequestPtr
 
typedef std::pair
< RequestPathHashMap::iterator,
RequestPathHashMap::iterator > 
RequestPathHashRange
 

Typedef Documentation

Unique ID for image resource requests.

Images are loaded from a string locator (typically a file path) using a set of ImageAttributes. Each unique pair of string and attributes is mapped to a unique RequestId value. This ensures multiple Image objects loading the same image file with the same attributes only generate one resource request and Core only issues one IO operation to Adaptor to do the load.

See Also
Dali::Integration::ResourceId

Definition at line 41 of file image-factory-cache.h.

Definition at line 58 of file image-factory-cache.h.

Definition at line 59 of file image-factory-cache.h.

Definition at line 56 of file image-factory-cache.h.

Definition at line 57 of file image-factory-cache.h.

typedef std::pair<RequestPathHashMap::iterator, RequestPathHashMap::iterator> Dali::Internal::ImageFactoryCache::RequestPathHashRange

Definition at line 125 of file image-factory-cache.h.

Definition at line 61 of file image-factory-cache.h.

Dali Docs Home
Read more about Dali