A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[surf] new (abstract) class: PropertyHolder, with only one purpose
[simgrid.git]
/
src
/
surf
/
network_interface.hpp
diff --git
a/src/surf/network_interface.hpp
b/src/surf/network_interface.hpp
index
dcd3136
..
415d244
100644
(file)
--- 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 "xbt/dict.h"
#include "surf_interface.hpp"
#include "surf_routing.hpp"
+#include "src/surf/PropertyHolder.hpp"
#include "simgrid/link.h"
#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)
*/
* @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
public:
/**
* @brief Link constructor
@@
-252,11
+253,6
@@
public:
private:
void *userData = NULL;
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;
/* List of all links */
private:
static boost::unordered_map<std::string, Link *> *links;