Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sanitize surf API: s/shareResources/next_occuring_event/
[simgrid.git] / src / surf / storage_interface.hpp
index 01bbf940ce217816ae549169d9561683f86e97e5..a7438dae3e565564372b64eba30e399be49f1036 100644 (file)
@@ -83,7 +83,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;
 };
@@ -96,7 +96,7 @@ public:
  * @details A Storage represent a storage unit (e.g.: hard drive, usb key)
  */
 class Storage : public simgrid::surf::Resource,
-                               public simgrid::surf::PropertyHolder {
+        public simgrid::surf::PropertyHolder {
 public:
   /**
    * @brief Storage constructor
@@ -147,7 +147,7 @@ public:
    * @param value [description]
    * @param date [description]
    */
-  void updateState(tmgr_trace_iterator_t event_type, double value, double date) override;
+  void updateState(tmgr_trace_iterator_t event_type, double value) override;
 
   void turnOn() override;
   void turnOff() override;