Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill the now empty RoutingPlatf datatype \o/
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 5 Dec 2016 19:27:06 +0000 (20:27 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 5 Dec 2016 19:27:06 +0000 (20:27 +0100)
src/surf/surf_interface.cpp
src/surf/surf_routing.cpp
src/surf/surf_routing.hpp

index 3f6b63d..d5b6319 100644 (file)
@@ -344,7 +344,6 @@ void surf_exit()
     delete model;
   delete all_existing_models;
   xbt_dynar_free(&model_list_invoke);
     delete model;
   delete all_existing_models;
   xbt_dynar_free(&model_list_invoke);
-  routing_exit();
 
   simgrid::surf::surfExitCallbacks();
 
 
   simgrid::surf::surfExitCallbacks();
 
index 777f4d7..1d90650 100644 (file)
@@ -59,9 +59,6 @@ simgrid::kernel::routing::NetCard *sg_netcard_by_name_or_null(const char *name)
   return netcard;
 }
 
   return netcard;
 }
 
-/* Global vars */
-simgrid::kernel::routing::RoutingPlatf* routing_platf = new simgrid::kernel::routing::RoutingPlatf();
-
 void sg_platf_new_trace(sg_platf_trace_cbarg_t trace)
 {
   tmgr_trace_t tmgr_trace;
 void sg_platf_new_trace(sg_platf_trace_cbarg_t trace)
 {
   tmgr_trace_t tmgr_trace;
@@ -101,10 +98,3 @@ void routing_register_callbacks()
   instr_routing_define_callbacks();
 }
 
   instr_routing_define_callbacks();
 }
 
-/** \brief Frees all memory allocated by the routing module */
-void routing_exit() {
-  delete routing_platf;
-}
-
-simgrid::kernel::routing::RoutingPlatf::RoutingPlatf() = default;
-simgrid::kernel::routing::RoutingPlatf::~RoutingPlatf() = default;
index 0d99e6a..01a39c9 100644 (file)
@@ -100,15 +100,6 @@ public:
   Link* link_;
 };
 
   Link* link_;
 };
 
-/** @ingroup SURF_routing_interface
- * @brief The class representing a whole routing platform
- */
-XBT_PUBLIC_CLASS RoutingPlatf {
-public:
-  explicit RoutingPlatf();
-  ~RoutingPlatf();
-};
-
 }}}
 
 #endif /* NETWORK_ROUTING_HPP_ */
 }}}
 
 #endif /* NETWORK_ROUTING_HPP_ */