libxcks  0.1.0.1
libxcks::DefaultChecksumCalculatorProgress Class Reference

Handles the progression of the process of computing of a checksum. More...

#include <ckcalculator.hpp>

Inheritance diagram for libxcks::DefaultChecksumCalculatorProgress:
Collaboration diagram for libxcks::DefaultChecksumCalculatorProgress:

Public Member Functions

 DefaultChecksumCalculatorProgress ()=default
 Default constructor. More...
 
 DefaultChecksumCalculatorProgress (const DefaultChecksumCalculatorProgress &)=delete
 Deleted copy constructor. More...
 
DefaultChecksumCalculatorProgressoperator= (const DefaultChecksumCalculatorProgress &)=delete
 Deleted assignment operator. More...
 
virtual ~DefaultChecksumCalculatorProgress ()=default
 Destructor. More...
 
void update (size_t read, bool &cancelled) override
 Updates the progress of the computing of a checksum. More...
 
- Public Member Functions inherited from libxcks::ChecksumCalculatorProgress
 ChecksumCalculatorProgress ()=default
 Default constructor. More...
 
 ChecksumCalculatorProgress (const ChecksumCalculatorProgress &)=delete
 Deleted copy constructor. More...
 
ChecksumCalculatorProgressoperator= (const ChecksumCalculatorProgress &)=delete
 Deleted assignment operator. More...
 
virtual ~ChecksumCalculatorProgress ()=default
 Destructor. More...
 

Detailed Description

Handles the progression of the process of computing of a checksum.

Do nothing.

Definition at line 78 of file ckcalculator.hpp.

Constructor & Destructor Documentation

◆ DefaultChecksumCalculatorProgress() [1/2]

libxcks::DefaultChecksumCalculatorProgress::DefaultChecksumCalculatorProgress ( )
default

Default constructor.

◆ DefaultChecksumCalculatorProgress() [2/2]

libxcks::DefaultChecksumCalculatorProgress::DefaultChecksumCalculatorProgress ( const DefaultChecksumCalculatorProgress )
delete

Deleted copy constructor.

◆ ~DefaultChecksumCalculatorProgress()

virtual libxcks::DefaultChecksumCalculatorProgress::~DefaultChecksumCalculatorProgress ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator=()

DefaultChecksumCalculatorProgress& libxcks::DefaultChecksumCalculatorProgress::operator= ( const DefaultChecksumCalculatorProgress )
delete

Deleted assignment operator.

◆ update()

void libxcks::DefaultChecksumCalculatorProgress::update ( size_t  read,
bool &  cancelled 
)
inlineoverridevirtual

Updates the progress of the computing of a checksum.

Parameters
readNumber of bytes read.
cancelledSet it to true if the user want to cancel the calculation. The caller should call it with its value set to false.

Implements libxcks::ChecksumCalculatorProgress.

Definition at line 101 of file ckcalculator.hpp.


The documentation for this class was generated from the following file: