X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0ef25bc8b50d2820e612d6f416bf2c8657b0658e..55633c554b60455d85885816b1b73e9698b73a14:/src/surf/surf_routing_cluster.hpp diff --git a/src/surf/surf_routing_cluster.hpp b/src/surf/surf_routing_cluster.hpp index 74018c5e8c..8ea4836198 100644 --- a/src/surf/surf_routing_cluster.hpp +++ b/src/surf/surf_routing_cluster.hpp @@ -9,7 +9,7 @@ #include -#include "surf_routing_none.hpp" +#include "surf_routing.hpp" #include "network_interface.hpp" namespace simgrid { @@ -24,10 +24,9 @@ class XBT_PRIVATE AsCluster; /* ************************************************** */ /* ************** Cluster ROUTING **************** */ -class AsCluster: public AsNone { +class AsCluster: public As { public: AsCluster(const char*name); - void Seal() override {}; // nothing to do virtual void getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t into, double *latency) override; void getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) override; @@ -36,12 +35,12 @@ public: virtual void parse_specific_arguments(sg_platf_cluster_cbarg_t cluster) {} - Link* p_backbone = nullptr; - void *p_loopback = nullptr; - NetCard *p_router = nullptr; - int p_has_limiter = 0; - int p_has_loopback = 0; - int p_nb_links_per_node = 1; + Link* backbone_ = nullptr; + void *loopback_ = nullptr; + NetCard *router_ = nullptr; + int has_limiter_ = 0; + int has_loopback_ = 0; + int nb_links_per_node_ = 1; };