Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
NetZoneImpl: simpler constructor
authorBruno Donassolo <bruno.donassolo@inria.fr>
Wed, 10 Mar 2021 18:53:33 +0000 (19:53 +0100)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Thu, 11 Mar 2021 17:27:15 +0000 (18:27 +0100)
commit84faa3d6e37c6f49b627feca83e69b9d0435a3e4
tree74c9a9ac8e7d92b57810bb38d9d1793ccb0b9a3a
parentdb90e1631e8edef2c777129b97bb4707990cc911
NetZoneImpl: simpler constructor

NetZoneImpl(std::string& name);
One step towards a simple contructor and set() idiom.
Removed father and network model from constructor.

Collateral effect:

NetPoint:
- removed NetZoneImpl* from its constructor
- added method set_englobing_zone(NetZoneImpl*)

In the past, we could create the NetPoint in NetZoneImpl with the
pointer to the father. But now, the father is only set latter at
set_father method.
include/simgrid/kernel/routing/NetPoint.hpp
include/simgrid/kernel/routing/NetZoneImpl.hpp
src/kernel/routing/ClusterZone.cpp
src/kernel/routing/EmptyZone.cpp
src/kernel/routing/NetPoint.cpp
src/kernel/routing/NetZoneImpl.cpp
src/kernel/routing/RoutedZone.cpp
src/surf/sg_platf.cpp