X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/16bbb8a8212497d9c44c81333ed2c0e689e0c5af..61b77aa31cb615bf2b3a791d89309587d70760c4:/src/surf/storage_interface.hpp diff --git a/src/surf/storage_interface.hpp b/src/surf/storage_interface.hpp index 2bcd3b6e7e..3ba65bf50b 100644 --- a/src/surf/storage_interface.hpp +++ b/src/surf/storage_interface.hpp @@ -13,8 +13,6 @@ #ifndef STORAGE_INTERFACE_HPP_ #define STORAGE_INTERFACE_HPP_ -extern xbt_dynar_t mount_list; - namespace simgrid { namespace surf { @@ -83,7 +81,7 @@ public: xbt_dict_t properties, const char *attach) = 0; - bool shareResourcesIsIdempotent() {return true;} + bool next_occuring_event_isIdempotent() {return true;} xbt_dynar_t p_storageList; }; @@ -140,14 +138,7 @@ public: /** @brief Check if the Storage is used (if an action currently uses its resources) */ bool isUsed() override; - /** - * @brief Update the state of the current Storage - * - * @param event_type [description] - * @param value [description] - * @param date [description] - */ - void updateState(tmgr_trace_iterator_t event_type, double value, double date) override; + void apply_event(tmgr_trace_iterator_t event, double value) override; void turnOn() override; void turnOff() override;