X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1c006a013e83828a40b76b6c652a995b5c2fa552..273148e36d46d15113195eae98cb45aca71f07d5:/src/kernel/EngineImpl.hpp diff --git a/src/kernel/EngineImpl.hpp b/src/kernel/EngineImpl.hpp index 4e2ef24bd5..f82414901d 100644 --- a/src/kernel/EngineImpl.hpp +++ b/src/kernel/EngineImpl.hpp @@ -1,11 +1,11 @@ -/* Copyright (c) 2016-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-2019. 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. */ -#include #include -#include + +#include #include #include @@ -13,15 +13,20 @@ namespace simgrid { namespace kernel { class EngineImpl { + std::map hosts_; + std::map links_; + std::map storages_; + std::unordered_map netpoints_; + friend s4u::Engine; + public: - EngineImpl(); - virtual ~EngineImpl(); - kernel::routing::NetZoneImpl* netRoot_ = nullptr; + EngineImpl() = default; -private: - std::map hosts_; - std::unordered_map netpoints_; - friend simgrid::s4u::Engine; + EngineImpl(const EngineImpl&) = delete; + EngineImpl& operator=(const EngineImpl&) = delete; + virtual ~EngineImpl(); + routing::NetZoneImpl* netzone_root_ = nullptr; }; -} -} + +} // namespace kernel +} // namespace simgrid