Classes

struct  Images
 

Public Types

using pool_t = ossia::hash_map< std::pair< int, int >, Images >
 

Public Member Functions

QImage * request (int w, int h)
 
void giveBack (const QVector< QImage * > &imgs)
 
QVector< QImage * > gc ()
 
void cacheStats ()
 

Static Public Member Functions

static QImagePoolinstance () noexcept
 

Public Attributes

pool_t pool
 
std::mutex m_mtx
 

Static Public Attributes

static constexpr const int max_count = 100
 
static int hit = 0
 
static int miss = 0
 

The documentation for this struct was generated from the following file: