X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/579d27969fbc1fa8004de922816a0068e52a9fa6..de57b34916659892d2dc26edabf552253afe2c18:/src/kernel/routing/FullZone.hpp diff --git a/src/kernel/routing/FullZone.hpp b/src/kernel/routing/FullZone.hpp index e81519c180..d92e4445fa 100644 --- a/src/kernel/routing/FullZone.hpp +++ b/src/kernel/routing/FullZone.hpp @@ -15,20 +15,21 @@ namespace routing { /** @ingroup ROUTING_API * @brief NetZone with an explicit routing provided by the user * - * The full communication matrix is provided at creation, so this model - * has the highest expressive power and the lowest computational requirements, - * but also the highest memory requirements (both in platform file and in memory). + * The full communication matrix is provided at creation, so this model has the highest expressive power and the lowest + * computational requirements, but also the highest memory requirements (both in platform file and in memory). */ class XBT_PRIVATE FullZone : public RoutedZone { public: - explicit FullZone(NetZone* father, const char* name); + explicit FullZone(NetZone* father, std::string name); void seal() override; ~FullZone() override; - void getLocalRoute(NetCard* src, NetCard* dst, sg_platf_route_cbarg_t into, double* latency) override; - void addRoute(sg_platf_route_cbarg_t route) override; + void getLocalRoute(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override; + void addRoute(kernel::routing::NetPoint* src, kernel::routing::NetPoint* dst, kernel::routing::NetPoint* gw_src, + kernel::routing::NetPoint* gw_dst, std::vector& link_list, + bool symmetrical) override; - sg_platf_route_cbarg_t* routingTable_ = nullptr; + RouteCreationArgs** routingTable_ = nullptr; }; } }