X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f1857a20fd06ac10cf352dd0d7757ce63882c015..6bffab333103f7f6c28905966b69889ae32b2d0f:/src/surf/StorageImpl.hpp diff --git a/src/surf/StorageImpl.hpp b/src/surf/StorageImpl.hpp index e16fb4d465..29b98f895f 100644 --- a/src/surf/StorageImpl.hpp +++ b/src/surf/StorageImpl.hpp @@ -3,14 +3,12 @@ /* 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 - #include "simgrid/kernel/resource/Action.hpp" #include "simgrid/kernel/resource/Model.hpp" #include "simgrid/kernel/resource/Resource.hpp" #include "simgrid/s4u/Storage.hpp" #include "src/surf/PropertyHolder.hpp" +#include "src/surf/trace_mgr.hpp" #include "surf_interface.hpp" #include @@ -94,12 +92,12 @@ public: s4u::Storage piface_; /** @brief Check if the Storage is used (if an action currently uses its resources) */ - bool isUsed() override; + bool is_used() override; void apply_event(tmgr_trace_event_t event, double value) override; - void turnOn() override; - void turnOff() override; + void turn_on() override; + void turn_off() override; /** * @brief Read a file