JigdoDesc::ProgressReporter Class ReferenceClass allowing JigdoDesc to convey information back to the caller. More...
Public Member Functions
|virtual void||error (const string &message)|
|General-purpose error reporting. |
|virtual void||info (const string &message)|
|Like error(), but for purely informational messages. |
|virtual void||writingImage (uint64 written, uint64 totalToWrite, uint64 imgOff, uint64 imgSize)|
|Called when the output image (or a temporary file) is being written to. |
Detailed DescriptionClass allowing JigdoDesc to convey information back to the caller.
The default versions of the methods do nothing at all (except for error(), which prints the error to cerr) - you need to supply an object of a derived class to functions to get called back.
Constructor & Destructor Documentation
Member Function Documentation
|void JigdoDesc::ProgressReporter::error||(||const string &||message||)||
|void JigdoDesc::ProgressReporter::info||(||const string &||message||)||
Called when the output image (or a temporary file) is being written to.
It holds that written==imgOff and totalToWrite==imgSize, *except* when additional files are merged into an already existing temporary file.
written Number of bytes written so far totalToWrite Value of 'written' at end of write operation imgOff Current offset in image imgSize Total size of output image
Referenced by reportBytesWritten().
The documentation for this class was generated from the following files:
Generated on Tue Sep 23 14:27:42 2008 for jigdo by 1.5.6