Inheritance diagram for ChecksumsListView::ChecksumProgress:
Public Member Functions | |
ChecksumProgress (const wxString &message, const wxString &title, wxWindow *parent, const BytesDisplayer &total) | |
Constructor. | |
void | finished () |
Indicates that the process is finished (hides the progress dialog). | |
wxString | getFileName () const |
Gets the current file that is processed. | |
void | setFileName (const wxString &curFileName) |
Sets the current file that is processed. | |
virtual void | update (size_t read, bool &canceled) |
Updates the progression of the computing of a checksum. | |
virtual | ~ChecksumProgress () |
Destructor. | |
Protected Member Functions | |
ChecksumProgress () | |
Default constructor. Don't call it. | |
void | init () |
Initializes the instance. | |
Protected Attributes | |
wxDateTime | ct |
Current time. | |
BytesDisplayer | current |
numbers of preceeded bytes. | |
double | dTotal |
Total of bytes to process. | |
wxString | fileName |
Name of the current file. | |
wxDateTime | lt |
Last saved time. | |
int | maxProgress |
Maximal value of the progress dialog. | |
double | maxProgressD |
Maximal value of the progress dialog (double). | |
int | maxProgressM1 |
Maximal value of the progress dialog - 1. | |
wxString | msg |
Message to display. | |
int | p |
Progress in . | |
dlgProgress * | progress |
Progress dialog. | |
wxString | sTotal |
Total of bytes to process. | |
wxTimeSpan | timeSpan |
Time between to updates of the progress dialog. |
Definition at line 184 of file lvwSums.cpp.
|
Default constructor. Don't call it.
Definition at line 202 of file lvwSums.cpp. References init(). |
|
Constructor.
Definition at line 249 of file lvwSums.cpp. References dTotal, init(), lt, maxProgress, maxProgressD, maxProgressM1, msg, progress, sTotal, timeSpan, BytesDisplayer::toDouble(), BytesDisplayer::toString(), and UPDATE_PROGRESS_DLG. |
|
Destructor.
Reimplemented from ChecksumProgress. Definition at line 270 of file lvwSums.cpp. References progress. |
|
Indicates that the process is finished (hides the progress dialog).
Definition at line 313 of file lvwSums.cpp. References maxProgress, progress, and dlgProgress::Update(). Referenced by ChecksumsListView::addFiles(), ChecksumsListView::check(), and ChecksumsListView::recompute(). |
|
Gets the current file that is processed.
Definition at line 325 of file lvwSums.cpp. References fileName. |
|
Initializes the instance.
Definition at line 232 of file lvwSums.cpp. References progress. Referenced by ChecksumProgress(). |
|
Sets the current file that is processed.
Definition at line 337 of file lvwSums.cpp. References fileName, and setFileName(). Referenced by ChecksumsListView::addFiles(), ChecksumsListView::check(), ChecksumsListView::recompute(), and setFileName(). |
|
Updates the progression of the computing of a checksum.
Implements ChecksumProgress. Definition at line 289 of file lvwSums.cpp. References ct, current, dTotal, fileName, dlgProgress::isPaused(), lt, maxProgress, maxProgressD, maxProgressM1, msg, p, progress, sTotal, timeSpan, BytesDisplayer::toDouble(), BytesDisplayer::toString(), dlgProgress::Update(), and update(). Referenced by update(). |
|
Current time.
Definition at line 195 of file lvwSums.cpp. Referenced by update(). |
|
numbers of preceeded bytes.
Definition at line 189 of file lvwSums.cpp. Referenced by update(). |
|
Total of bytes to process.
Definition at line 190 of file lvwSums.cpp. Referenced by ChecksumProgress(), and update(). |
|
Name of the current file.
Definition at line 187 of file lvwSums.cpp. Referenced by getFileName(), setFileName(), and update(). |
|
Last saved time.
Definition at line 194 of file lvwSums.cpp. Referenced by ChecksumProgress(), and update(). |
|
Maximal value of the progress dialog.
Definition at line 197 of file lvwSums.cpp. Referenced by ChecksumProgress(), finished(), and update(). |
|
Maximal value of the progress dialog (double).
Definition at line 199 of file lvwSums.cpp. Referenced by ChecksumProgress(), and update(). |
|
Maximal value of the progress dialog - 1.
Definition at line 198 of file lvwSums.cpp. Referenced by ChecksumProgress(), and update(). |
|
Message to display.
Definition at line 188 of file lvwSums.cpp. Referenced by ChecksumProgress(), and update(). |
|
Progress in .
Definition at line 192 of file lvwSums.cpp. Referenced by update(). |
|
Progress dialog.
Definition at line 196 of file lvwSums.cpp. Referenced by ChecksumProgress(), finished(), init(), update(), and ~ChecksumProgress(). |
|
Total of bytes to process.
Definition at line 191 of file lvwSums.cpp. Referenced by ChecksumProgress(), and update(). |
|
Time between to updates of the progress dialog.
Definition at line 193 of file lvwSums.cpp. Referenced by ChecksumProgress(), and update(). |