Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
RoutingEdgeWrapper is probably the dumbest wrapper I've ever seen. Kill it
[simgrid.git] / src / surf / surf_routing.hpp
index 6ed29be..1f05896 100644 (file)
@@ -60,7 +60,7 @@ public:
   /**
    * @brief The As constructor
    */
-  As(){};
+  As(){xbt_die("FIXME:DEADCODE");};
 
   /**
    * @brief The As destructor
@@ -119,20 +119,6 @@ private:
   char *p_name;
 };
 
-struct RoutingEdgeWrapper : public NetCard {
-public:
-  RoutingEdgeWrapper(NetCard *re) : p_re(re){}
-  ~RoutingEdgeWrapper(){}
-  int getId() {return p_re->getId();}
-  int *getIdPtr() {return p_re->getIdPtr();}
-  void setId(int id) {p_re->setId(id);}
-  char *getName() {return p_re->getName();}
-  As *getRcComponent() {return p_re->getRcComponent();}
-  e_surf_network_element_type_t getRcType() {return p_re->getRcType();}
-private:
-  NetCard *p_re;
-};
-
 /** @ingroup SURF_routing_interface
  * @brief Link of lenght 1, alongside with its source and destination. This is mainly usefull in the ns3 bindings
  */