X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0236bbc683363a58fdef428ce7de140909de5db1..93b7899156ac9fee75c4a6a8b65b92b265d61d4f:/src/surf/network_interface.hpp diff --git a/src/surf/network_interface.hpp b/src/surf/network_interface.hpp index dcd3136bd3..415d244d49 100644 --- a/src/surf/network_interface.hpp +++ b/src/surf/network_interface.hpp @@ -15,6 +15,7 @@ #include "xbt/dict.h" #include "surf_interface.hpp" #include "surf_routing.hpp" +#include "src/surf/PropertyHolder.hpp" #include "simgrid/link.h" @@ -187,7 +188,7 @@ public: * @brief SURF network link interface class * @details A Link represents the link between two [hosts](\ref Host) */ -class Link : public simgrid::surf::Resource { +class Link : public simgrid::surf::Resource, public simgrid::surf::PropertyHolder { public: /** * @brief Link constructor @@ -252,11 +253,6 @@ public: private: void *userData = NULL; -public: - xbt_dict_t getProperties(); -protected: - xbt_dict_t p_properties = NULL; - /* List of all links */ private: static boost::unordered_map *links;