Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ContextRaw: add header file with class definitions.
[simgrid.git] / src / kernel / EngineImpl.hpp
1 /* Copyright (c) 2016-2017. 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 <string>
8 #include <unordered_map>
9
10 namespace simgrid {
11 namespace kernel {
12 namespace routing {
13 class NetZoneImpl;
14 class NetPoint;
15 }
16
17 class EngineImpl {
18 public:
19   EngineImpl();
20   virtual ~EngineImpl();
21   kernel::routing::NetZoneImpl* netRoot_ = nullptr;
22
23 private:
24   std::unordered_map<std::string, simgrid::kernel::routing::NetPoint*> netpoints_;
25   friend simgrid::s4u::Engine;
26 };
27 }
28 }