Public Slots | Public Member Functions | Public Attributes | Private Attributes | List of all members
detail::TileDownloader Class Reference

Tile downloader. More...

#include <tile_downloader.h>

Inheritance diagram for detail::TileDownloader:
Inheritance graph
[legend]

Public Slots

void downloadFinished (QNetworkReply *reply)
 

Public Member Functions

void loadTile (TileId const &tile_id)
 Load a specific tile. More...
 
 TileDownloader (decltype(callback) callback)
 

Public Attributes

detail::ErrorRateManager< std::string > error_rates
 

Private Attributes

std::function< void(TileId, QImage)> callback
 
QNetworkAccessManager * manager
 

Detailed Description

Tile downloader.

This class encapsulates away all the Qt stuff regarding downloading.

Definition at line 38 of file tile_downloader.h.

Constructor & Destructor Documentation

◆ TileDownloader()

detail::TileDownloader::TileDownloader ( decltype(callback callback)
inline

Definition at line 47 of file tile_downloader.h.

Member Function Documentation

◆ downloadFinished

void detail::TileDownloader::downloadFinished ( QNetworkReply *  reply)
inlineslot

Definition at line 84 of file tile_downloader.h.

◆ loadTile()

void detail::TileDownloader::loadTile ( TileId const &  tile_id)
inline

Load a specific tile.

Since QNetworkDiskCache is used, tiles will be loaded from the file system if they have been cached. Otherwise they get downloaded.

Definition at line 66 of file tile_downloader.h.

Member Data Documentation

◆ callback

std::function<void(TileId, QImage)> detail::TileDownloader::callback
private

Definition at line 42 of file tile_downloader.h.

◆ error_rates

detail::ErrorRateManager<std::string> detail::TileDownloader::error_rates

Definition at line 45 of file tile_downloader.h.

◆ manager

QNetworkAccessManager* detail::TileDownloader::manager
private

Definition at line 41 of file tile_downloader.h.


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


rviz_satellite
Author(s): Gareth Cross , Andre Schröder
autogenerated on Thu May 4 2023 02:31:43