X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0236bbc683363a58fdef428ce7de140909de5db1..93b7899156ac9fee75c4a6a8b65b92b265d61d4f:/src/surf/storage_interface.hpp diff --git a/src/surf/storage_interface.hpp b/src/surf/storage_interface.hpp index 3be52e96e6..8c7be43d37 100644 --- a/src/surf/storage_interface.hpp +++ b/src/surf/storage_interface.hpp @@ -7,6 +7,7 @@ #include #include "surf_interface.hpp" +#include "src/surf/PropertyHolder.hpp" #ifndef STORAGE_INTERFACE_HPP_ #define STORAGE_INTERFACE_HPP_ @@ -101,7 +102,7 @@ public: * @brief SURF storage interface class * @details A Storage represent a storage unit (e.g.: hard drive, usb key) */ -class Storage : public simgrid::surf::Resource { +class Storage : public simgrid::surf::Resource, public simgrid::surf::PropertyHolder { public: /** * @brief Storage constructor @@ -241,12 +242,6 @@ public: lmm_constraint_t p_constraintWrite; /* Constraint for maximum write bandwidth*/ lmm_constraint_t p_constraintRead; /* Constraint for maximum write bandwidth*/ - -public: - xbt_dict_t getProperties(); -protected: - xbt_dict_t p_properties = NULL; - }; /**********