Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
finish the cleanup of the netcard list container
[simgrid.git] / src / kernel / EngineImpl.hpp
1 /* Copyright (c) 2016. The SimGrid Team. All rights reserved.               */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #include <simgrid/s4u/forward.hpp>
7 #include <xbt/dict.h>
8
9 #include <unordered_map>
10
11 namespace simgrid {
12 namespace kernel {
13 namespace routing {
14 class NetZoneImpl;
15 class NetCard;
16 }
17
18 class EngineImpl {
19 public:
20   EngineImpl();
21   virtual ~EngineImpl();
22   kernel::routing::NetZoneImpl* netRoot_ = nullptr;
23
24 protected:
25   std::unordered_map<std::string,simgrid::kernel::routing::NetCard*> netcards_;
26   friend simgrid::s4u::Engine;
27 };
28 }
29 }