#include "xbt/dict.h"
#include "surf_interface.hpp"
#include "surf_routing.hpp"
+#include "src/surf/PropertyHolder.hpp"
#include "simgrid/link.h"
* @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
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<std::string, Link *> *links;