|
libzypp 17.31.6
|
Public Member Functions | |
| ProgressData (CURL *_curl, time_t _timeout=0, const zypp::Url &_url=zypp::Url(), zypp::ByteCount expectedFileSize_r=0, zypp::callback::SendReport< zypp::media::DownloadProgressReport > *_report=nullptr) | |
| void | updateStats (double dltotal=0.0, double dlnow=0.0) |
| int | reportProgress () const |
Public Attributes | |
| CURL * | curl |
| zypp::Url | url |
| time_t | timeout |
| bool | reached |
| bool | fileSizeExceeded |
| zypp::callback::SendReport< zypp::media::DownloadProgressReport > * | report |
| zypp::ByteCount | _expectedFileSize |
| time_t | _timeStart = 0 |
| Start total stats. | |
| time_t | _timeLast = 0 |
| Start last period(~1sec) | |
| time_t | _timeRcv = 0 |
| Start of no-data timeout. | |
| time_t | _timeNow = 0 |
| Now. | |
| double | _dnlTotal = 0.0 |
| Bytes to download or 0 if unknown. | |
| double | _dnlLast = 0.0 |
| Bytes downloaded at period start. | |
| double | _dnlNow = 0.0 |
| Bytes downloaded now. | |
| int | _dnlPercent = 0 |
| Percent completed or 0 if _dnlTotal is unknown. | |
| double | _drateTotal = 0.0 |
| Download rate so far. | |
| double | _drateLast = 0.0 |
| Download rate in last period. | |
| double | drate_period |
| double | dload_period |
| long | secs |
| double | drate_avg |
| time_t | ltime |
| double | dload |
| double | uload |
Definition at line 122 of file MediaCurl.cc.
| internal::ProgressData::ProgressData | ( | CURL * | _curl, |
| time_t | _timeout = 0, |
||
| const zypp::Url & | _url = zypp::Url(), |
||
| zypp::ByteCount | expectedFileSize_r = 0, |
||
| zypp::callback::SendReport< zypp::media::DownloadProgressReport > * | _report = nullptr |
||
| ) |
Definition at line 173 of file MediaCurl.cc.
| void internal::ProgressData::updateStats | ( | double | dltotal = 0.0, |
| double | dlnow = 0.0 |
||
| ) |
Definition at line 183 of file MediaCurl.cc.
| int internal::ProgressData::reportProgress | ( | ) | const |
Definition at line 226 of file MediaCurl.cc.
| CURL* internal::ProgressData::curl |
Definition at line 128 of file MediaCurl.cc.
| zypp::Url internal::ProgressData::url |
Definition at line 129 of file MediaCurl.cc.
| time_t internal::ProgressData::timeout |
Definition at line 130 of file MediaCurl.cc.
| bool internal::ProgressData::reached |
Definition at line 131 of file MediaCurl.cc.
| bool internal::ProgressData::fileSizeExceeded |
Definition at line 132 of file MediaCurl.cc.
| zypp::callback::SendReport<zypp::media::DownloadProgressReport>* internal::ProgressData::report |
Definition at line 133 of file MediaCurl.cc.
| zypp::ByteCount internal::ProgressData::_expectedFileSize |
Definition at line 134 of file MediaCurl.cc.
| time_t internal::ProgressData::_timeStart = 0 |
Start total stats.
Definition at line 136 of file MediaCurl.cc.
| time_t internal::ProgressData::_timeLast = 0 |
Start last period(~1sec)
Definition at line 137 of file MediaCurl.cc.
| time_t internal::ProgressData::_timeRcv = 0 |
Start of no-data timeout.
Definition at line 138 of file MediaCurl.cc.
| time_t internal::ProgressData::_timeNow = 0 |
Now.
Definition at line 139 of file MediaCurl.cc.
| double internal::ProgressData::_dnlTotal = 0.0 |
Bytes to download or 0 if unknown.
Definition at line 141 of file MediaCurl.cc.
| double internal::ProgressData::_dnlLast = 0.0 |
Bytes downloaded at period start.
Definition at line 142 of file MediaCurl.cc.
| double internal::ProgressData::_dnlNow = 0.0 |
Bytes downloaded now.
Definition at line 143 of file MediaCurl.cc.
| int internal::ProgressData::_dnlPercent = 0 |
Percent completed or 0 if _dnlTotal is unknown.
Definition at line 145 of file MediaCurl.cc.
| double internal::ProgressData::_drateTotal = 0.0 |
Download rate so far.
Definition at line 147 of file MediaCurl.cc.
| double internal::ProgressData::_drateLast = 0.0 |
Download rate in last period.
Definition at line 148 of file MediaCurl.cc.
| double internal::ProgressData::drate_period |
Definition at line 156 of file MediaCurl.cc.
| double internal::ProgressData::dload_period |
Definition at line 158 of file MediaCurl.cc.
| long internal::ProgressData::secs |
Definition at line 160 of file MediaCurl.cc.
| double internal::ProgressData::drate_avg |
Definition at line 162 of file MediaCurl.cc.
| time_t internal::ProgressData::ltime |
Definition at line 164 of file MediaCurl.cc.
| double internal::ProgressData::dload |
Definition at line 166 of file MediaCurl.cc.
| double internal::ProgressData::uload |
Definition at line 168 of file MediaCurl.cc.