Class ISubBlockCacheOperation#
Defined in File libCZI_Compositor.h
Inheritance Relationships#
Derived Type#
public libCZI::ISubBlockCache
(Class ISubBlockCache)
Class Documentation#
-
class ISubBlockCacheOperation#
This interface defines the operations of adding and querying an element to/from the cache.
Subclassed by libCZI::ISubBlockCache
Public Functions
-
virtual std::shared_ptr<IBitmapData> Get(int subblock_index) = 0#
Gets the bitmap for the specified subblock-index. If the subblock is not in the cache, then a nullptr is returned.
- Parameters:
subblock_index – The subblock index to get.
- Returns:
If the subblock is in the cache, then a std::shared_ptr<libCZI::IBitmapData> is returned. Otherwise a nullptr is returned.
Adds the specified bitmap for the specified subblock_index to the cache. If the subblock is already in the cache, then it is overwritten.
- Parameters:
subblock_index – The subblock index to add.
pBitmap – The bitmap.
-
virtual ~ISubBlockCacheOperation() = default#
-
ISubBlockCacheOperation() = default#
-
ISubBlockCacheOperation(const ISubBlockCacheOperation&) = delete#
-
ISubBlockCacheOperation &operator=(const ISubBlockCacheOperation&) = delete#
-
ISubBlockCacheOperation(ISubBlockCacheOperation&&) noexcept = delete#
-
ISubBlockCacheOperation &operator=(ISubBlockCacheOperation&&) noexcept = delete#
-
virtual std::shared_ptr<IBitmapData> Get(int subblock_index) = 0#