Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
clang-format changes related to the previous commit
[simgrid.git] / src / surf / surf_routing.hpp
index 878ffc9..64b1b70 100644 (file)
@@ -9,8 +9,8 @@
 #include <xbt/base.h>
 #include <xbt/signal.hpp>
 
+#include "src/kernel/routing/NetZoneImpl.hpp"
 #include "surf_interface.hpp"
-#include "src/kernel/routing/AsImpl.hpp"
 
 #include <float.h>
 #include <vector>
@@ -20,24 +20,4 @@ XBT_PRIVATE xbt_node_t new_xbt_graph_node (xbt_graph_t graph, const char *name,
 XBT_PRIVATE xbt_edge_t new_xbt_graph_edge (xbt_graph_t graph, xbt_node_t s, xbt_node_t d, xbt_dict_t edges);
 SG_END_DECL()
 
-namespace simgrid {
-namespace kernel {
-namespace routing {
-
-  XBT_PUBLIC_DATA(simgrid::xbt::signal<void(s4u::As*)>) asCreatedCallbacks;
-
-/***********
- * Classes *
- ***********/
-
-class AsRoute {
-public:
-  explicit AsRoute(NetCard* gwSrc, NetCard* gwDst) : gw_src(gwSrc), gw_dst(gwDst) {}
-  const NetCard* gw_src;
-  const NetCard* gw_dst;
-  std::vector<Link*> links;
-};
-
-}}}
-
 #endif /* NETWORK_ROUTING_HPP_ */