jigdo API
Last update by Admin on 2010-05-23
MkTemplate::ProgressReporter Class Reference
Class allowing MkTemplate to convey information back to the creator of a MkTemplate object. More...
#include <mktemplate.hh>
Inheritance diagram for MkTemplate::ProgressReporter:

Public Member Functions | |
virtual | ~ProgressReporter () |
virtual void | error (const string &message) |
General-purpose error reporting. | |
virtual void | scanningImage (uint64 offset) |
Called during second pass, when the image file is scanned. | |
virtual void | matchFound (const FilePart *file, uint64 offInImage) |
Called during second pass, when MkTemplate has found an area in the image whose MD5Sum matches that of a file. | |
virtual void | finished (uint64 imageSize) |
The MkTemplate operation has finished. |
Detailed Description
Class allowing MkTemplate to convey information back to the creator of a MkTemplate object.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 MkTemplate() to get called back.
Constructor & Destructor Documentation
virtual MkTemplate::ProgressReporter::~ProgressReporter | ( | ) | [inline, virtual] |
Member Function Documentation
void MkTemplate::ProgressReporter::error | ( | const string & | message | ) | [virtual] |
void MkTemplate::ProgressReporter::scanningImage | ( | uint64 | offset | ) | [virtual] |
Called during second pass, when the image file is scanned.
- Parameters:
-
offset Offset in image file
void MkTemplate::ProgressReporter::matchFound | ( | const FilePart * | file, | |
uint64 | offInImage | |||
) | [virtual] |
Called during second pass, when MkTemplate has found an area in the image whose MD5Sum matches that of a file.
- Parameters:
-
file The file that matches offInImage Offset of the match from start of image
void MkTemplate::ProgressReporter::finished | ( | uint64 | imageSize | ) | [virtual] |
The documentation for this class was generated from the following files:
Generated on Tue Sep 23 14:27:43 2008 for jigdo by
