Handles the progression of the process of computing of a checksum.
More...
#include <ckcalculator.hpp>
Handles the progression of the process of computing of a checksum.
Definition at line 45 of file ckcalculator.hpp.
◆ ChecksumCalculatorProgress() [1/2]
libxcks::ChecksumCalculatorProgress::ChecksumCalculatorProgress |
( |
| ) |
|
|
default |
◆ ChecksumCalculatorProgress() [2/2]
Deleted copy constructor.
◆ ~ChecksumCalculatorProgress()
virtual libxcks::ChecksumCalculatorProgress::~ChecksumCalculatorProgress |
( |
| ) |
|
|
virtualdefault |
◆ operator=()
Deleted assignment operator.
◆ update()
virtual void libxcks::ChecksumCalculatorProgress::update |
( |
size_t |
read, |
|
|
bool & |
cancelled |
|
) |
| |
|
pure virtual |
Updates the progress of the computing of a checksum.
- Parameters
-
read | Number of bytes read. |
cancelled | Set it to true if the user want to cancel the calculation. The caller should call it with its value set to false . |
Implemented in libxcks::DefaultChecksumCalculatorProgress.
The documentation for this class was generated from the following file: