X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e295c984a0d5f6ba7d8ae0e802a46d1b642c2ba2..df0ad90cff845556fb7bb2a6fd6e2c10196f5776:/src/kernel/EngineImpl.hpp diff --git a/src/kernel/EngineImpl.hpp b/src/kernel/EngineImpl.hpp index 2a197f51ce..c45e02fd2e 100644 --- a/src/kernel/EngineImpl.hpp +++ b/src/kernel/EngineImpl.hpp @@ -3,9 +3,9 @@ /* 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 - #include +#include +#include #include #include @@ -14,9 +14,8 @@ namespace kernel { class EngineImpl { std::map hosts_; - std::map links_; - std::map disks_; - std::map storages_; + std::map links_; + std::map storages_; std::unordered_map netpoints_; friend s4u::Engine; @@ -26,6 +25,12 @@ public: EngineImpl(const EngineImpl&) = delete; EngineImpl& operator=(const EngineImpl&) = delete; virtual ~EngineImpl(); + + void load_deployment(const std::string& file); + void register_function(const std::string& name, xbt_main_func_t code); + void register_function(const std::string& name, void (*code)(std::vector)); + void register_default(xbt_main_func_t code); + routing::NetZoneImpl* netzone_root_ = nullptr; };