38 xmlNodePtr pTransportInstanceNode,
39 const std::string sURI)
54 for(
auto layer : layers_) {
delete layer; }
77 std::string sLayerName =
reinterpret_cast<const char*
>(pNode->name);
79 if (sLayerName ==
"transport")
89 throw makeException<ParseException>(
"Failed to parse '%s' layer.\n\n" 90 "Possible reason(s):\n" 91 " * '%s' layer is not allowed inside an 'instance'.\n",
Provides default implementation to common layer functionalities.
virtual void doProcessChildren(xmlNodePtr pParent, ParamMap ¶mMap)
std::string getDefinitionPath() const
void doProcessChildNode(xmlNodePtr pNode)
std::list< LayerConfiguration * > LayerConfigurations
const LayerConfigurations & getLayers()
std::uint16_t getAttrValNumeric(xmlNodePtr pNode, const char *attributename)
Contains the configuration for a MAC layer.
~TransportInstanceConfiguration()
void setPathAndFile(const std::string sURI)
TransportInstanceConfiguration(xmlNodePtr pTransportInstanceNode, const std::string sDefinitionURI)
std::string getAttrVal(xmlNodePtr pNode, const char *attributename)