2 * Config_XMLModuleReader.h
4 * Created on: Mar 20, 2014
8 #ifndef CONFIG_MODULEREADER_H_
9 #define CONFIG_MODULEREADER_H_
12 #include <Config_XMLReader.h>
19 class Config_ModuleReader: public Config_XMLReader
23 CONFIG_EXPORT Config_ModuleReader(const char* theEventGenerated = 0);
24 CONFIG_EXPORT virtual ~Config_ModuleReader();
26 CONFIG_EXPORT const std::map<std::string, std::string>& featuresInFiles() const;
28 CONFIG_EXPORT std::string getModuleName();
30 /// loads the library with specific name, appends "lib*.dll" or "*.so" depending on the platform
31 CONFIG_EXPORT static void loadLibrary(const std::string theLibName);
34 void processNode(xmlNodePtr aNode);
35 bool processChildren(xmlNodePtr aNode);
37 std::list<std::string> importPlugin(const std::string& thePluginLibrary,
38 const std::string& thePluginFile);
42 std::map<std::string, std::string> myFeaturesInFiles;
43 const char* myEventGenerated;
47 #endif /* CONFIG_XMLMODULEREADER_H_ */