Class ImageCache

Inheritance Relationships

Base Type

  • public QObject

Class Documentation

class ImageCache : public QObject

Public Functions

explicit ImageCache(const QString &cache_dir, size_t size = 4096, rclcpp::Logger logger = rclcpp::get_logger("tile_map::ImageCache"))
~ImageCache() override
ImagePtr GetImage(size_t uri_hash, const QString &uri, int32_t priority = 0)
void SetLogger(rclcpp::Logger logger)

Public Slots

void ProcessRequest(QString uri)
void ProcessReply(QNetworkReply *reply)
void Clear()