A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename some fields (change toto to toto_)
[simgrid.git]
/
src
/
kernel
/
EngineImpl.hpp
diff --git
a/src/kernel/EngineImpl.hpp
b/src/kernel/EngineImpl.hpp
index
750cb62
..
43f8b67
100644
(file)
--- a/
src/kernel/EngineImpl.hpp
+++ b/
src/kernel/EngineImpl.hpp
@@
-1,24
+1,27
@@
-/* Copyright (c) 2016
. The SimGrid Team. All rights reserved.
*/
+/* Copyright (c) 2016
-2018. 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. */
/* 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 <simgrid/s4u/NetZone.hpp>
+
+#include <map>
+#include <string>
+#include <unordered_map>
namespace simgrid {
namespace kernel {
namespace simgrid {
namespace kernel {
-namespace routing {
-class AsImpl;
-}
class EngineImpl {
public:
EngineImpl();
virtual ~EngineImpl();
class EngineImpl {
public:
EngineImpl();
virtual ~EngineImpl();
- kernel::routing::
AsImpl* rootAs
_ = nullptr;
+ kernel::routing::
NetZoneImpl* netzone_root
_ = nullptr;
-protected:
+private:
+ std::map<std::string, simgrid::s4u::Host*> hosts_;
+ std::map<std::string, simgrid::s4u::Storage*> storages_;
+ std::unordered_map<std::string, simgrid::kernel::routing::NetPoint*> netpoints_;
friend simgrid::s4u::Engine;
};
}
friend simgrid::s4u::Engine;
};
}