Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics in HostImpl
[simgrid.git] / include / simgrid / s4u / Host.hpp
index 092908e..c67ead8 100644 (file)
@@ -6,17 +6,16 @@
 #ifndef SIMGRID_S4U_HOST_HPP
 #define SIMGRID_S4U_HOST_HPP
 
+#include <simgrid/forward.h>
+#include <simgrid/s4u/forward.hpp>
+#include <xbt/Extendable.hpp>
+#include <xbt/signal.hpp>
+#include <xbt/string.hpp>
+
 #include <map>
 #include <string>
 #include <unordered_map>
 
-#include "xbt/Extendable.hpp"
-#include "xbt/signal.hpp"
-#include "xbt/string.hpp"
-
-#include "simgrid/forward.h"
-#include "simgrid/s4u/forward.hpp"
-
 namespace simgrid {
 
 namespace xbt {
@@ -96,6 +95,8 @@ public:
   int getPstatesCount() const;
   void setPstate(int pstate_index);
   int getPstate();
+  std::vector<const char*> get_attached_storages();
+  // XBT_ATTRIB_DEPRECATED_v323("Please use Host::get_attached_storages() instead.")
   void getAttachedStorages(std::vector<const char*> * storages);
 
   /** Get an associative list [mount point]->[Storage] of all local mount points.