37 #include <libxml/tree.h> 50 throw makeException<ValidateException>(
"NEM id %hu is NOT properly configured!\n" 52 "Possible reason(s):\n" 54 " * NEM XML is missing one of phy|mac|transport.\n",
63 for(
auto nem : nems_) {
delete nem; }
86 std::string sDefinition{
getAttrVal(pNode,
"definition")};
90 if(!sDefinition.empty())
99 nems_.push_back(pNEMConfig);
Provides default implementation to common layer functionalities.
std::string getDefinitionPath() const
std::list< NEMConfiguration * > NEMConfigurations
void processDefinition(const char *pxzName, const std::string &sURI)
Contains all configuration associated with an NEM.
std::string getAttrVal(xmlNodePtr pNode, const char *attributename)