X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8a0e2b82a1c0981a84e67f1bb4afb6e16fbf8c3a..cc4eceb15c80a597e44222b8c0ff60caf85db959:/src/surf/StorageImpl.hpp diff --git a/src/surf/StorageImpl.hpp b/src/surf/StorageImpl.hpp index 204791fd41..e3c508acd3 100644 --- a/src/surf/StorageImpl.hpp +++ b/src/surf/StorageImpl.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2004-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2004-2019. 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. */ @@ -6,9 +6,10 @@ #include "simgrid/kernel/resource/Action.hpp" #include "simgrid/kernel/resource/Model.hpp" #include "simgrid/kernel/resource/Resource.hpp" +#include "simgrid/s4u/Io.hpp" #include "simgrid/s4u/Storage.hpp" +#include "src/kernel/resource/profile/trace_mgr.hpp" #include "src/surf/PropertyHolder.hpp" -#include "src/surf/trace_mgr.hpp" #include "surf_interface.hpp" #include @@ -24,7 +25,9 @@ namespace surf { ***********/ class StorageAction; - +/** @ingroup SURF_storage_interface + * @brief The possible type of action for the storage component + */ /************* * Callbacks * *************/ @@ -48,6 +51,8 @@ simgrid::xbt::signal* properties, std::unordered_map* model_properties, sg_size_t size) - : id(id), model(model), content(content), properties(properties), model_properties(model_properties), size(size) + : id(std::move(id)) + , model(std::move(model)) + , content(std::move(content)) + , properties(properties) + , model_properties(model_properties) + , size(size) { } };