#include <downloader.h>
Definition at line 32 of file downloader.h.
◆ Downloader()
| PBD::Downloader::Downloader |
( |
std::string const & |
url, |
|
|
std::string const & |
destdir |
|
) |
| |
◆ ~Downloader()
| PBD::Downloader::~Downloader |
( |
| ) |
|
◆ cancel()
| void PBD::Downloader::cancel |
( |
| ) |
|
◆ cleanup()
| void PBD::Downloader::cleanup |
( |
| ) |
|
◆ download()
| void PBD::Downloader::download |
( |
| ) |
|
|
private |
◆ download_path()
| std::string PBD::Downloader::download_path |
( |
| ) |
const |
◆ download_size()
| uint64_t PBD::Downloader::download_size |
( |
| ) |
const |
|
inline |
◆ downloaded()
| uint64_t PBD::Downloader::downloaded |
( |
| ) |
const |
|
inline |
◆ progress()
| double PBD::Downloader::progress |
( |
| ) |
const |
◆ start()
| int PBD::Downloader::start |
( |
| ) |
|
◆ status()
| int PBD::Downloader::status |
( |
| ) |
const |
|
inline |
◆ write()
| size_t PBD::Downloader::write |
( |
void * |
contents, |
|
|
size_t |
size, |
|
|
size_t |
nmemb |
|
) |
| |
◆ _cancel
| bool PBD::Downloader::_cancel |
|
private |
◆ _ccurl
| CCurl PBD::Downloader::_ccurl |
|
private |
◆ _download_size
| std::atomic<uint64_t> PBD::Downloader::_download_size |
|
private |
◆ _downloaded
| std::atomic<uint64_t> PBD::Downloader::_downloaded |
|
private |
◆ _status
| std::atomic<int> PBD::Downloader::_status |
|
private |
◆ destdir
| std::string PBD::Downloader::destdir |
|
private |
◆ file
| FILE* PBD::Downloader::file |
|
private |
◆ file_path
| std::string PBD::Downloader::file_path |
|
private |
◆ thread
◆ url
| std::string PBD::Downloader::url |
|
private |
The documentation for this class was generated from the following file: