Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
finish the cleanup of the netcard list container
[simgrid.git] / src / kernel / EngineImpl.hpp
index 839f300..d038e3b 100644 (file)
@@ -6,10 +6,13 @@
 #include <simgrid/s4u/forward.hpp>
 #include <xbt/dict.h>
 
+#include <unordered_map>
+
 namespace simgrid {
 namespace kernel {
 namespace routing {
 class NetZoneImpl;
+class NetCard;
 }
 
 class EngineImpl {
@@ -19,6 +22,7 @@ public:
   kernel::routing::NetZoneImpl* netRoot_ = nullptr;
 
 protected:
+  std::unordered_map<std::string,simgrid::kernel::routing::NetCard*> netcards_;
   friend simgrid::s4u::Engine;
 };
 }