qb
2.0.0.0
C++17 Actor Framework
|
Factory interface for creating compression providers. More...
#include <compression.h>
Public Member Functions | |
virtual const std::string & | algorithm () const =0 |
Get the name of the compression algorithm. | |
virtual std::unique_ptr< compress_provider > | make_compressor () const =0 |
Create a new compressor instance. | |
virtual | ~compress_factory ()=default |
Virtual destructor. |
Factory interface for creating compression providers.
This class defines the interface for factories that create compressor instances. It allows the creation of compressors to be abstracted from their implementation and configuration.
|
pure virtual |
Get the name of the compression algorithm.
|
pure virtual |
Create a new compressor instance.