Go to the documentation of this file.
18 #ifndef CUPT_DOWNLOAD_PROGRESS_SEEN
19 #define CUPT_DOWNLOAD_PROGRESS_SEEN
40 internal::ProgressImpl* __impl;
54 float sizeScaleFactor;
170 CUPT_LOCAL
void progress(
const vector< string >& params);
virtual ~Progress()
destructor
size_t number
unique number
Definition: progress.hpp:45
virtual void updateHook(bool immediate)
size_t getDownloadSpeed() const
bool isOptional(const string &uri) const
download progress meter
Definition: progress.hpp:39
size_t getOverallDownloadTime() const
download element
Definition: progress.hpp:44
uint64_t getOverallEstimatedSize() const
size_t downloadedSize
already downloaded amount of bytes
Definition: progress.hpp:46
string getLongAliasForUri(const string &uri) const
void setLongAliasForUri(const string &uri, const string &alias)
sets a long alias for URI
virtual void finishedDownloadHook(const string &uri, const string &result)
uint64_t getOverallDownloadedSize() const
static float speedCalculatingAccuracy
amount of seconds considered while calculating a download speed
Definition: progress.hpp:149
const std::map< string, DownloadRecord > & getDownloadRecords() const
uint64_t getOverallFetchedSize() const
virtual void newDownloadHook(const string &uri, const DownloadRecord &downloadRecord)
size_t size
expected file size, -1 if unknown
Definition: progress.hpp:47
size_t getOverallEstimatedTime() const
void setShortAliasForUri(const string &uri, const string &alias)
sets a short alias for URI
Phase
Definition: progress.hpp:49
virtual void finishHook()
void markAsOptional(const string &uri)
string getShortAliasForUri(const string &uri) const