2 * Config_FeatureReader.h
4 * Created on: Mar 20, 2014
8 #ifndef CONFIG_FEATUREREADER_H_
9 #define CONFIG_FEATUREREADER_H_
12 #include <Config_XMLReader.h>
17 class Config_FeatureMessage;
19 class Config_FeatureReader: public Config_XMLReader
22 Config_FeatureReader(const std::string& theXmlFile,
23 const std::string& theLibraryName = "",
24 const char* theEventGenerated = 0);
25 virtual ~Config_FeatureReader();
28 void processNode(xmlNodePtr aNode);
29 bool processChildren(xmlNodePtr aNode);
31 void fillFeature(xmlNodePtr theRoot, Config_FeatureMessage& outFeatureMessage);
34 std::string myLastWorkbench;
35 std::string myLastGroup;
36 std::string myLibraryName;
37 /// event generated on feature data sending, by default it is "FeatureEvent"
38 const char* myEventGenerated;
41 #endif /* CONFIG_FEATUREREADER_H_ */