eq::Compressor Class Reference

The mirror class for use easily all function of a dso compressor. More...

#include <compressor.h>

Collaboration diagram for eq::Compressor:

Collaboration graph
[legend]

List of all members.

Public Types

typedef size_t(* GetNumCompressors_t )()
typedef void(* GetInfo_t )(const size_t, EqCompressorInfo *const )
typedef void *(* NewCompressor_t )(const unsigned)
typedef void(* DeleteCompressor_t )(void *const )
typedef void *(* NewDecompressor_t )(const unsigned)
typedef void(* DeleteDecompressor_t )(void *const )
typedef void(* Compress_t )(void *const, const unsigned, void *const, const uint64_t *, const uint64_t)
typedef size_t(* GetNumResults_t )(void *const, const unsigned)
typedef void(* GetResult_t )(void *const, const unsigned, const unsigned, void **const, uint64_t *const )
typedef void(* Decompress_t )(void *const, const unsigned, const void *const *, const uint64_t *const, const unsigned, void *const, uint64_t *const, const uint64_t)

Public Member Functions

bool init (const std::string &libraryName)
 init and link a plugin compressor
void exit ()
 unlink and free all memory pointer
bool implementsType (const uint32_t name)
const CompressorInfoVector & getInfos () const

Public Attributes

NewCompressor_t newCompressor
 Get a new compressor instance.
NewDecompressor_t newDecompressor
 Get a new decompressor instance.
DeleteCompressor_t deleteCompressor
 delete the compressor instance parametre
DeleteDecompressor_t deleteDecompressor
 delete the decompressor instance parametre
Compress_t compress
 compress data
Decompress_t decompress
 decompress data
GetNumResults_t getNumResults
 get the number array that found the results of compressing
GetNumCompressors_t getNumCompressors
 get the number compressor found in the plugin
GetResult_t getResult
 get the number compressor found in the plugin


Detailed Description

The mirror class for use easily all function of a dso compressor.

Definition at line 36 of file client/compressor.h.


Member Function Documentation

bool eq::Compressor::implementsType ( const uint32_t  name  ) 

Returns:
true if name is found in the DSO compressor

Definition at line 79 of file client/compressor.cpp.

const CompressorInfoVector& eq::Compressor::getInfos (  )  const [inline]

Returns:
the information for all compressors contained in the DSO.

Definition at line 98 of file client/compressor.h.

Referenced by eq::Image::findCompressors().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:42 2009 for Equalizer 0.9 by  doxygen 1.5.8