Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use std::pair instead of s_surf_parsing_link_up_down_t for Cluster private links
[simgrid.git] / src / kernel / routing / NetCard.hpp
index 9213dd4..40454d4 100644 (file)
@@ -6,6 +6,7 @@
 #ifndef KERNEL_ROUTING_NETCARD_HPP_
 #define KERNEL_ROUTING_NETCARD_HPP_
 
+#include <xbt/Extendable.hpp>
 #include <xbt/base.h>
 #include <xbt/signal.hpp>
 
@@ -23,7 +24,8 @@ namespace routing {
  *
  * @details This represents a position in the network. One can route information between two netcards
  */
-class NetCard {
+class NetCard : public simgrid::xbt::Extendable<NetCard> {
+
 public:
   enum class Type { Host, Router, As };