Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not load a private header from s/k/resource/ headers
[simgrid.git] / src / surf / storage_n11.hpp
index b6d8c4f..c38ec74 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (c) 2013-2015. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2013-2018. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -53,14 +52,16 @@ public:
 
 class StorageN11Action : public StorageAction {
 public:
-  StorageN11Action(Model* model, double cost, bool failed, StorageImpl* storage, e_surf_action_storage_type_t type);
-  void suspend();
-  int unref();
-  void cancel();
-  void resume();
-  bool isSuspended();
-  void setMaxDuration(double duration);
-  void setSharingWeight(double priority);
+  StorageN11Action(kernel::resource::Model* model, double cost, bool failed, StorageImpl* storage,
+                   e_surf_action_storage_type_t type);
+  void suspend() override;
+  int unref() override;
+  void cancel() override;
+  void resume() override;
+  bool isSuspended() override;
+  void setMaxDuration(double duration) override;
+  void setSharingWeight(double priority) override;
+  void updateRemainingLazy(double now) override;
 };
 
 }