wxCurlUploadEvent Class Reference

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>

Inheritance diagram for wxCurlUploadEvent:
wxCurlProgressBaseEvent

List of all members.

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

Detailed Description

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.


The documentation for this class was generated from the following file:

Generated on 1 Jan 2010 for wxCURL by  doxygen 1.6.1