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>
18 class CONFIG_EXPORT Config_ModuleReader: public Config_XMLReader
22 Config_ModuleReader();
23 virtual ~Config_ModuleReader();
25 void setAutoImport(bool enabled);
26 const std::map<std::string, std::string>& plugins() const;
28 std::string getModuleName();
31 void processNode(xmlNodePtr aNode);
32 bool processChildren(xmlNodePtr aNode);
34 void importPlugin(const std::string& thePluginName,
35 const std::string& thePluginLibrary = "");
39 std::map<std::string, std::string> myPluginsMap;
44 #endif /* CONFIG_XMLMODULEREADER_H_ */