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_ModuleReader: public Config_XMLReader
22 CONFIG_EXPORT Config_ModuleReader(const char* theEventGenerated = 0);
23 CONFIG_EXPORT virtual ~Config_ModuleReader();
25 CONFIG_EXPORT void setAutoImport(bool enabled);
26 CONFIG_EXPORT const std::map<std::string, std::string>& plugins() const;
28 CONFIG_EXPORT 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;
40 const char* myEventGenerated;
44 #endif /* CONFIG_XMLMODULEREADER_H_ */