]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/EngineImpl.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ThreadContext: define yield(), and use yield()/start() whenever possible.
[simgrid.git] / src / kernel / EngineImpl.hpp
index d3501dc66041fa68098b5925de6d2c13b2bd6266..39f041a8cba507b4c7c5dc46e5c31ee2e5ed0257 100644 (file)
@@ -1,11 +1,9 @@
-/* Copyright (c) 2016. The SimGrid Team. All rights reserved.               */
+/* Copyright (c) 2016-2017. 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 <simgrid/s4u/forward.hpp>
-#include <xbt/dict.h>
-
 #include <string>
 #include <unordered_map>
 
@@ -13,7 +11,7 @@ namespace simgrid {
 namespace kernel {
 namespace routing {
 class NetZoneImpl;
-class NetCard;
+class NetPoint;
 }
 
 class EngineImpl {
@@ -22,8 +20,8 @@ public:
   virtual ~EngineImpl();
   kernel::routing::NetZoneImpl* netRoot_ = nullptr;
 
-protected:
-  std::unordered_map<std::string,simgrid::kernel::routing::NetCard*> netcards_;
+private:
+  std::unordered_map<std::string, simgrid::kernel::routing::NetPoint*> netpoints_;
   friend simgrid::s4u::Engine;
 };
 }