Public Types |
|
|
typedef size_t(* | GetNumCompressors_t )() |
|
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 unsigned(* | 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) |
|
typedef bool(* | IsCompatible_t )(const unsigned, const GLEWContext *) |
|
typedef void(* | Download_t )(void *const, const unsigned, const GLEWContext *, const uint64_t *, const unsigned, const uint64_t, uint64_t *, void **) |
|
typedef void(* | StartDownload_t )(void *const, const unsigned, const GLEWContext *, const uint64_t *, const unsigned, const uint64_t) |
|
typedef void(* | FinishDownload_t )(void *const, const unsigned, const GLEWContext *, const uint64_t *, const uint64_t, uint64_t *, void **) |
|
typedef void(* | Upload_t )(void *const, const unsigned, const GLEWContext *, const void *, const uint64_t *, const uint64_t, const uint64_t *, const unsigned) |
Public Member Functions |
| | Plugin (const std::string &libraryName) |
| | Construct and initialize a new plugin DSO.
|
| virtual | ~Plugin () |
| | Destruct this plugin handle.
|
|
| bool | isGood () const |
| VisitorResult | accept (PluginVisitor &visitor) |
| | Visit all compressors.
|
| VisitorResult | accept (ConstPluginVisitor &visitor) const |
| | Visit all compressors.
|
|
bool | implementsType (const uint32_t name) const |
|
EqCompressorInfo | findInfo (const uint32_t name) const |
|
const CompressorInfos & | getInfos () const |
| | DSO () |
| | Construct a new dynamic shared object.
|
| | DSO (const std::string &name) |
| | Construct and initialize a dynamic shared object.
|
| | ~DSO () |
| | Destruct this DSO handle.
|
| bool | open (const std::string &fileName) |
| | Open a dynamic shared object.
|
| void | close () |
| | Close the DSO, invalidates retrieved function pointers.
|
| void * | getFunctionPointer (const std::string &functionName) |
| template<class F > |
| F | getFunctionPointer (const std::string &func) |
| bool | isOpen () const |
Public Attributes |
|
| GetNumCompressors_t const | getNumCompressors |
| | Get the number of engines found in the plugin.
|
| NewCompressor_t const | newCompressor |
| | Get a new compressor instance.
|
| NewDecompressor_t const | newDecompressor |
| | Get a new decompressor instance.
|
| DeleteCompressor_t const | deleteCompressor |
| | Delete the compressor instance.
|
| DeleteDecompressor_t const | deleteDecompressor |
| | Delete the decompressor instance.
|
| Compress_t const | compress |
| | Compress data.
|
| Decompress_t const | decompress |
| | Decompress data.
|
| GetNumResults_t const | getNumResults |
| | Get the number of results from the last compression.
|
| GetResult_t const | getResult |
| | Get the nth result from the last compression.
|
| IsCompatible_t const | isCompatible |
| | Check if the transfer plugin can be used.
|
| Download_t const | download |
| | Download pixel data.
|
| Upload_t const | upload |
| | Upload pixel data.
|
| StartDownload_t const | startDownload |
| | Start downloading pixel data.
|
| FinishDownload_t const | finishDownload |
| | Start downloading pixel data.
|
Holder for all functions and information of one compression plugin DSO.
Definition at line 34 of file plugin.h.