Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move the routing stuff to its namespace
[simgrid.git] / src / surf / AsClusterTorus.hpp
index 58f7478..6571971 100644 (file)
@@ -9,12 +9,12 @@
 #include "src/surf/AsCluster.hpp"
 
 namespace simgrid {
-  namespace surf {
+  namespace routing {
 
-    class XBT_PRIVATE AsClusterTorus:public simgrid::surf::AsCluster {
+    class XBT_PRIVATE AsClusterTorus : public simgrid::routing::AsCluster {
     public:
-      AsClusterTorus(const char*name);
-      virtual ~AsClusterTorus();
+      explicit AsClusterTorus(const char*name);
+      ~AsClusterTorus() override;
       void create_links_for_node(sg_platf_cluster_cbarg_t cluster, int id, int rank, int position) override;
       void getRouteAndLatency(NetCard * src, NetCard * dst, sg_platf_route_cbarg_t into, double *latency) override;
       void parse_specific_arguments(sg_platf_cluster_cbarg_t cluster) override;