Inheritance diagram for dlgMultiCheck::ChecksumProgress:
Public Member Functions | |
ChecksumProgress (dlgMultiCheck *progressDlg, const BytesDisplayer &total) | |
Constructor. | |
void | finished () |
Indicates that the process is finished (hides the progress dialog). | |
virtual void | update (size_t read, bool &canceled) |
Updates the progression of the computing of a checksum. | |
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. | |
wxDateTime | lt |
Last saved time. | |
dlgMultiCheck * | progress |
Progress dialog (don't delete it!). | |
wxTimeSpan | timeSpan |
Time between to updates of the progress dialog. |
Definition at line 145 of file dlgMultiCheck.cpp.
|
Default constructor. Don't call it.
Definition at line 155 of file dlgMultiCheck.cpp. References init(). |
|
Constructor.
Definition at line 189 of file dlgMultiCheck.cpp. References current, init(), lt, progress, dlgMultiCheck::setReadBytes(), dlgMultiCheck::setTotalBytes(), timeSpan, and UPDATE_PROGRESS_DLG. |
|
Indicates that the process is finished (hides the progress dialog).
Definition at line 237 of file dlgMultiCheck.cpp. References current, progress, and dlgMultiCheck::setReadBytes(). Referenced by dlgMultiCheck::checkFile(). |
|
Initializes the instance.
Definition at line 176 of file dlgMultiCheck.cpp. References progress. Referenced by ChecksumProgress(). |
|
Updates the progression of the computing of a checksum.
Implements ChecksumProgress. Definition at line 212 of file dlgMultiCheck.cpp. References ct, current, dlgResultsProgress::getState(), lt, progress, dlgMultiCheck::setReadBytes(), timeSpan, and update(). Referenced by update(). |
|
Current time.
Definition at line 151 of file dlgMultiCheck.cpp. Referenced by update(). |
|
numbers of preceeded bytes.
Definition at line 148 of file dlgMultiCheck.cpp. Referenced by ChecksumProgress(), finished(), and update(). |
|
Last saved time.
Definition at line 150 of file dlgMultiCheck.cpp. Referenced by ChecksumProgress(), and update(). |
|
Progress dialog (don't delete it!).
Definition at line 152 of file dlgMultiCheck.cpp. Referenced by ChecksumProgress(), finished(), init(), and update(). |
|
Time between to updates of the progress dialog.
Definition at line 149 of file dlgMultiCheck.cpp. Referenced by ChecksumProgress(), and update(). |