X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2ed355817f460966034abc6a78428bdca52fcbb4..deaf4c6f1cb3026b053ca861fe77313c78385be7:/src/surf/storage_n11.hpp diff --git a/src/surf/storage_n11.hpp b/src/surf/storage_n11.hpp index 5e3ff38b4e..c38ec744e2 100644 --- a/src/surf/storage_n11.hpp +++ b/src/surf/storage_n11.hpp @@ -1,12 +1,10 @@ -/* 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. */ #include -#include "FileImpl.hpp" #include "StorageImpl.hpp" #ifndef STORAGE_N11_HPP_ @@ -54,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; }; }