This event gets posted by wxCURL with a frequent interval during operation (roughly once per second) no matter if data is being transfered or not. More...
#include <base.h>
Public Member Functions | |
wxCurlDownloadEvent (int id, wxCurlBase *originator, const double &rDownloadTotal, const double &rDownloadNow, const wxString &szURL=wxEmptyString) | |
wxCurlDownloadEvent (const wxCurlDownloadEvent &event) | |
virtual wxEvent * | Clone () const |
double | GetDownloadedBytes () const |
Returns the number of bytes downloaded so far. | |
double | GetTransferredBytes () const |
Returns the bytes transferred so far. | |
double | GetTotalBytes () const |
Returns the total number of bytes to download. | |
wxString | GetHumanReadableDownloadedBytes (const wxString &inv=_("Not available"), int prec=1) const |
Returns the currently downloaded bytes in a human-readable format. | |
Protected Attributes | |
double | m_rDownloadTotal |
double | m_rDownloadNow |
This event gets posted by wxCURL with a frequent interval during operation (roughly once per second) no matter if data is being transfered or not.
Unknown/unused argument values passed to the callback will be set to zero (like if you only download data, the upload size will remain 0). Use the EVT_CURL_PROGRESS(id, function) macro to intercept this event.