Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill the now useless ParallelRawContext and ParallelBoostContext
[simgrid.git] / src / kernel / EngineImpl.hpp
1 /* Copyright (c) 2016-2018. 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/NetZone.hpp>
7
8 #include <map>
9 #include <string>
10 #include <unordered_map>
11
12 namespace simgrid {
13 namespace kernel {
14
15 class EngineImpl {
16 public:
17   EngineImpl();
18   virtual ~EngineImpl();
19   kernel::routing::NetZoneImpl* netzone_root_ = nullptr;
20
21 private:
22   std::map<std::string, simgrid::s4u::Host*> hosts_;
23   std::map<std::string, simgrid::s4u::Link*> links_;
24   std::map<std::string, simgrid::s4u::Storage*> storages_;
25   std::unordered_map<std::string, simgrid::kernel::routing::NetPoint*> netpoints_;
26   friend simgrid::s4u::Engine;
27 };
28 }
29 }