moduleLoader.h
Go to the documentation of this file.
00001 #ifndef MODULE_LOADER_H
00002 #define MODULE_LOADER_H
00003 
00004 #include <string>
00005 #include <map>
00006 using std::string;
00007 using std::map;
00008 
00010 
00014 class ModuleLoader
00015 {
00016    public:
00017       ModuleLoader();
00018       ~ModuleLoader();
00019 
00020    public:
00021       virtual void* getFunction(string fnString) = 0;
00022 
00023    protected:
00024       string extractFunctionName(string fnString);
00025       string extractLibName(string fnString);
00026 
00027    protected:
00028       map<string, void*> _openLibs;  
00029 };
00030 
00031 //make sure lib opened/closed once. -> evtl. close libs in descut
00032 //hwoto general mit function pointers... (beliebige)
00033 
00034 #endif
00035 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


tfd_modules
Author(s): Maintained by Christian Dornhege (see AUTHORS file).
autogenerated on Tue Jan 22 2013 12:25:03