The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StatusReporter Class Reference

#include <remotetrans.h>

+ Inheritance diagram for StatusReporter:
+ Collaboration diagram for StatusReporter:

Public Member Functions

virtual void preStatus (long totalBytes, long completedBytes, const char *message)
 
virtual SWDEPRECATED void statusUpdate (double dtTotal, double dlNow)
 
virtual void update (unsigned long totalBytes, unsigned long completedBytes)
 
virtual ~StatusReporter ()
 

Detailed Description

Class for reporting status

Definition at line 36 of file remotetrans.h.

Constructor & Destructor Documentation

virtual StatusReporter::~StatusReporter ( )
inlinevirtual

Definition at line 38 of file remotetrans.h.

38 {};

Member Function Documentation

void StatusReporter::preStatus ( long  totalBytes,
long  completedBytes,
const char *  message 
)
virtual

Messages before stages of a batch download

Reimplemented in MyStatusReporter.

Definition at line 54 of file remotetrans.cpp.

54  {
55 }
void StatusReporter::statusUpdate ( double  dtTotal,
double  dlNow 
)
virtual
Deprecated:
Use override update instead, receive sttaus updates

Definition at line 58 of file remotetrans.cpp.

58  {
59 }
void StatusReporter::update ( unsigned long  totalBytes,
unsigned long  completedBytes 
)
virtual

frequently called throughout a download, to report status override to receive status information

Reimplemented in MyStatusReporter.

Definition at line 223 of file remotetrans.cpp.

223  {
224  statusUpdate(totalBytes, completedBytes);
225 }
virtual SWDEPRECATED void statusUpdate(double dtTotal, double dlNow)
Definition: remotetrans.cpp:58

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