Entry point of a module with signature and version info to verify correctness of the dynamic linking.
More...
#include <moduleEntryPoint.hpp>
|
| ModuleEntryPoint (Type type_, unsigned short version_major, unsigned short version_minor, const char *version_3rdparty_=0, const char *license_3rdparty_=0) |
| Constructor for derived classes. More...
|
|
Entry point of a module with signature and version info to verify correctness of the dynamic linking.
Enumerator |
---|
ErrorNone |
no error
|
ErrorUnknownModuleType |
the 'type' field has an unknown value
|
ErrorSignature |
the signature (composition of a string and the major module version number) does not match
|
ErrorModMinorVersion |
the loaded module minor version is higher than the one of the module loader. This means that the module potentially implementents features that are not known to the module loader. The loading of such a module is thus refused.
|
ErrorCompMajorVersion |
the components implemented in the module have a major version number than expected
|
ErrorCompMinorVersion |
the components minor version is smaller than required. The module may not implement the objects loaded as required. Thus the loading of the module is refused.
|
ErrorOpenModule |
|
ErrorNoEntryPoint |
|
The module types supported.
Enumerator |
---|
Analyzer |
module exporting objects for document and query analysis (moduleAnalyzer)
|
Storage |
module exporting objects for storage and query evaluation (moduleStorage)
|
Trace |
module exporting objects for method call trace generation (moduleTrace)
|
strus::ModuleEntryPoint::ModuleEntryPoint |
( |
Type |
type_, |
|
|
unsigned short |
version_major, |
|
|
unsigned short |
version_minor, |
|
|
const char * |
version_3rdparty_ = 0 , |
|
|
const char * |
license_3rdparty_ = 0 |
|
) |
| |
|
inlineexplicit |
Constructor for derived classes.
static void strus::ModuleEntryPoint::closeHandle |
( |
Handle & |
hnd | ) |
|
|
static |
unsigned int strus::ModuleEntryPoint::_reserved[6] |
unsigned short strus::ModuleEntryPoint::compversion_major |
major version of components in the module
unsigned short strus::ModuleEntryPoint::compversion_minor |
minor version of components in the module
const char* strus::ModuleEntryPoint::license_3rdparty |
unsigned short strus::ModuleEntryPoint::modversion_minor |
minor version of the module
char strus::ModuleEntryPoint::signature[8] |
signature of the module (string + major version)
Type strus::ModuleEntryPoint::type |
const char* strus::ModuleEntryPoint::version_3rdparty |
The documentation for this struct was generated from the following file: