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 | |
wxCurlUploadEvent (int id, wxCurlBase *originator, const double &rUploadTotal, const double &rUploadNow, const wxString &szURL=wxEmptyString) | |
wxCurlUploadEvent (const wxCurlUploadEvent &event) | |
virtual wxEvent * | Clone () const |
double | GetUploadedBytes () const |
Returns the number of bytes uploaded so far. | |
double | GetTransferredBytes () const |
Returns the bytes transferred so far. | |
double | GetTotalBytes () const |
Returns the total number of bytes to upload. | |
wxString | GetHumanReadableUploadedBytes (const wxString &inv=_("Not available"), int prec=1) const |
Returns the currently uploaded bytes in a human-readable format. | |
Protected Attributes | |
double | m_rUploadTotal |
double | m_rUploadNow |
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.