-protected:
- void processNode(xmlNodePtr aNode);
- bool processChildren(xmlNodePtr aNode);
-
- void importPlugin(const std::string& thePluginName,
- const std::string& thePluginLibrary = "");
-
-private:
- bool myIsAutoImport;
- std::map<std::string, std::string> myPluginsMap;
- const char* myEventGenerated;
+ protected:
+ /// Recursively process the given xmlNode
+ virtual void processNode(xmlNodePtr aNode);
+ /// Defines if the reader should process children of the given node
+ virtual bool processChildren(xmlNodePtr aNode);
+ /// check if dependencies of the given node are in the list of loaded modules
+ bool hasRequiredModules(xmlNodePtr aNode) const;
+ /// reads info about plugin's features from plugin xml description
+ std::list<std::string> importPlugin(const std::string& thePluginLibrary,
+ const std::string& thePluginFile);
+ /// stores information about plugin in the internal cache
+ std::string addPlugin(const std::string& aPluginLibrary,
+ const std::string& aPluginScript,
+ const std::string& aPluginConf);
+ /// Save feature in myFeaturesInFiles. Generates an error if the feature name is already registered.
+ void addFeature(const std::string& theFeatureName, const std::string& thePluginConfig);