|
Lightweight 0.20251202.0
|
Base class for progress managers that tracks errors automatically. More...
#include <SqlBackup.hpp>
Public Member Functions | |
| void | Update (Progress const &progress) override |
| Gets called when the progress of an individual backup/restore operation changes. | |
| size_t | ErrorCount () const noexcept override |
| Returns the number of errors encountered during the operation. | |
Public Member Functions inherited from Lightweight::SqlBackup::ProgressManager | |
| ProgressManager (ProgressManager const &)=default | |
| ProgressManager & | operator= (ProgressManager const &)=default |
| ProgressManager (ProgressManager &&)=default | |
| ProgressManager & | operator= (ProgressManager &&)=default |
| virtual void | AllDone ()=0 |
| Gets called when all backup/restore operations are finished. | |
| virtual void | SetMaxTableNameLength (size_t) |
| virtual void | SetTotalItems (size_t) |
| virtual void | AddTotalItems (size_t) |
| virtual void | OnItemsProcessed (size_t) |
Base class for progress managers that tracks errors automatically.
Definition at line 212 of file SqlBackup.hpp.
|
inlineoverridevirtual |
Gets called when the progress of an individual backup/restore operation changes.
Implements Lightweight::SqlBackup::ProgressManager.
Definition at line 215 of file SqlBackup.hpp.
References Lightweight::SqlBackup::Progress::state.
|
inlineoverridevirtualnoexcept |
Returns the number of errors encountered during the operation.
Reimplemented from Lightweight::SqlBackup::ProgressManager.
Definition at line 221 of file SqlBackup.hpp.