Grok 15.1.0
grk::TileCache Class Reference

#include <TileCache.h>

Public Member Functions

 TileCache (uint32_t strategy)
 TileCache (void)
virtual ~TileCache ()
bool empty (void)
void setStrategy (uint32_t strategy)
uint32_t getStrategy (void)
TileCacheEntryput (uint16_t tile_index, TileProcessor *processor)
TileCacheEntryget (uint16_t tile_index)
GrkImagegetComposite (void)
std::vector< GrkImage * > getAllImages (void)
std::vector< GrkImage * > getTileImages (void)

Private Attributes

GrkImagetileComposite
std::map< uint32_t, TileCacheEntry * > cache_
uint32_t strategy_

Constructor & Destructor Documentation

◆ TileCache() [1/2]

grk::TileCache::TileCache ( uint32_t strategy)

References strategy_, and tileComposite.

Referenced by TileCache().

◆ TileCache() [2/2]

grk::TileCache::TileCache ( void )

References GRK_TILE_CACHE_NONE, and TileCache().

◆ ~TileCache()

grk::TileCache::~TileCache ( )
virtual

Member Function Documentation

◆ empty()

bool grk::TileCache::empty ( void )

References cache_.

◆ get()

TileCacheEntry * grk::TileCache::get ( uint16_t tile_index)

References cache_.

◆ getAllImages()

std::vector< GrkImage * > grk::TileCache::getAllImages ( void )

References getTileImages(), and tileComposite.

◆ getComposite()

GrkImage * grk::TileCache::getComposite ( void )

References tileComposite.

◆ getStrategy()

uint32_t grk::TileCache::getStrategy ( void )

References strategy_.

◆ getTileImages()

std::vector< GrkImage * > grk::TileCache::getTileImages ( void )

References cache_.

Referenced by getAllImages().

◆ put()

TileCacheEntry * grk::TileCache::put ( uint16_t tile_index,
TileProcessor * processor )

◆ setStrategy()

void grk::TileCache::setStrategy ( uint32_t strategy)

References strategy_.

Member Data Documentation

◆ cache_

std::map<uint32_t, TileCacheEntry*> grk::TileCache::cache_
private

◆ strategy_

uint32_t grk::TileCache::strategy_
private

Referenced by getStrategy(), setStrategy(), and TileCache().

◆ tileComposite

GrkImage* grk::TileCache::tileComposite
private

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