Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
atlas::cache::ImageCache::PixmapItem Struct Reference

Public Member Functions

 PixmapItem (QPixmap map)
 
void operator() ()
 
std::uint64_t size () const
 
std::uint64_t score (const std::chrono::time_point< std::chrono::steady_clock > &current_time) const
 
bool operator< (const PixmapItem &other) const
 

Public Attributes

std::chrono::time_point< std::chrono::steady_clock > last_accessed { Clock::now() }
 
QPixmap pixmap
 

Constructor & Destructor Documentation

◆ PixmapItem()

atlas::cache::ImageCache::PixmapItem::PixmapItem ( QPixmap map)
inline

Member Function Documentation

◆ operator()()

void atlas::cache::ImageCache::PixmapItem::operator() ( )
inline

◆ operator<()

bool atlas::cache::ImageCache::PixmapItem::operator< ( const PixmapItem & other) const
inline

◆ score()

std::uint64_t atlas::cache::ImageCache::PixmapItem::score ( const std::chrono::time_point< std::chrono::steady_clock > & current_time) const

◆ size()

std::uint64_t atlas::cache::ImageCache::PixmapItem::size ( ) const

Member Data Documentation

◆ last_accessed

std::chrono::time_point< std::chrono::steady_clock > atlas::cache::ImageCache::PixmapItem::last_accessed { Clock::now() }

◆ pixmap

QPixmap atlas::cache::ImageCache::PixmapItem::pixmap

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