Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

kore Namespace Reference

This namespace holds the Kernel and kore API(s). More...


Compounds

class  kore::ServiceProvider::Service
 class kore::ServiceProvider::Service - helper class which holds service information, such as service's provider, name and description. More...

struct  kore::ServiceManager::ltptr
struct  kore::ServiceManager::eqstr
struct  kore::ModuleManager::ltptr
class  kore::Module::Info
 class kore::Module::Info - provides usefull information on a module. More...

class  kore::Kernel
 class core::Kernel - the Kernel This class is responsible for providing kore services to runtime modules This is a singleton, use kore::Kernel::instance() for getting access to an instance. More...

class  kore::Module
 class kore::Module - the base structural and functional unit. More...

class  kore::ModuleManager
 class kore::ModuleManager - provides easier Kore Module management. More...

class  kore::Plugin
 class kore::Plugin - platform-independant representation of a dynamic library (dll). More...

class  kore::PluginLoader
 class kore::PluginLoader - platform-independant loader for dll's (dynamic library). More...

class  kore::PluginManager
 TODO: implement the PluginManager (similar to ModuleManager). More...

class  kore::ServiceManager
 class kore::ServiceManager - provides Kore Service management. More...

class  kore::ServiceProvider
 class kore::ServiceProvider - a ServiceProvider is a Module which provides or more services to be used by the other modules. More...

class  kore::Version
 class kore::Version - common version information (major/minor/revision/string) helper class. More...


Typedefs

typedef Plugin *(* PluginFuncType )(HMODULE libHandle, const char *libName, const char *libPath, int libFlags)
 Each Kore dll has to export a function with this signature, in order to be used as a Kore plugin (this function is similar to main()): extern "C" { Plugin* plugin(HMODULE libHandle, const char* libName, const char* libPath, int libFlags ); } The default implementation for this function should look like: Plugin* plugin(HMODULE libHandle, const char* libName, const char* libPath, int libFlags ) { return new Plugin( libHandle, libName, libPath, libFlags ); } See also the PLUGIN_MAIN_HDR and PLUGIN_MAIN_BODY macros in plugin.h for defaults. More...


Detailed Description

This namespace holds the Kernel and kore API(s).

Typedef Documentation

typedef Plugin*(* kore::PluginFuncType)(HMODULE libHandle, const char* libName, const char* libPath, int libFlags )
 

Each Kore dll has to export a function with this signature, in order to be used as a Kore plugin (this function is similar to main()): extern "C" { Plugin* plugin(HMODULE libHandle, const char* libName, const char* libPath, int libFlags ); } The default implementation for this function should look like: Plugin* plugin(HMODULE libHandle, const char* libName, const char* libPath, int libFlags ) { return new Plugin( libHandle, libName, libPath, libFlags ); } See also the PLUGIN_MAIN_HDR and PLUGIN_MAIN_BODY macros in plugin.h for defaults.

The PluginLoader will open the dll, and try to run the plugin(...) function in order to get a Plugin off the dll.

Definition at line 26 of file pluginloader.h.

Referenced by kore::PluginLoader::openPlugin().


Generated on Sat Feb 16 05:44:10 2002 for Korelib by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001