import "Compression.pidl";
Inheritance diagram for Compression::CompressorFactory:
Public Member Functions | |
Compressor | get_compressor (in CompressionLevel compression_level) |
void | add_sample (in unsigned long long compressed_bytes, in unsigned long long uncompressed_bytes) |
Public Attributes | |
readonly attribute CompressorId | compressor_id |
readonly attribute unsigned long long | compressed_bytes |
readonly attribute unsigned long long | uncompressed_bytes |
readonly attribute double | average_compression |
|
Add a sample of compressed and uncompressed bytes. |
|
Create a Compressor instance with the given compression level. |
|
The average compression achieved by Compressors that were created by this CompressorFactory, usually a value between 0 and >=1. (i.e. compressed_bytes divided by uncompressed_bytes). Definition at line 110 of file Compression.pidl. |
|
The total number of compressed bytes read and written by Compressors that were created by this CompressorFactory (i.e. the "target" side of Compressor::compress and the "source" side of Compressor::decompress operations). Definition at line 97 of file Compression.pidl. |
|
The CompressorId associated with this CompressorFactory Definition at line 90 of file Compression.pidl. |
|
The total number of uncompressed bytes read and written by Compressors that were created by this CompressorFactory (i.e. the "source" side of Compressor::compress and the "target" side of Compressor::decompress operations). Definition at line 104 of file Compression.pidl. |