Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
NetZoneImpl: simpler constructor
[simgrid.git] / include / simgrid / kernel / routing / WifiZone.hpp
index c695e6e..a56d3fb 100644 (file)
@@ -23,16 +23,14 @@ public:
   explicit WifiZone(NetZoneImpl* father, const std::string& name, resource::NetworkModel* netmodel);
   WifiZone(const WifiZone&) = delete;
   WifiZone& operator=(const WifiZone) = delete;
-  ~WifiZone() override                = default;
 
-  void seal() override;
   void get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override;
-  s4u::Link* create_link(const std::string& name, const std::vector<double>& bandwidths, double latency,
-                         s4u::Link::SharingPolicy policy,
-                         const std::unordered_map<std::string, std::string>* props) override;
+  s4u::Link* create_link(const std::string& name, const std::vector<double>& bandwidths,
+                         s4u::Link::SharingPolicy policy) override;
   NetPoint* get_access_point() {return access_point_;}
 
 private:
+  void do_seal() override;
   resource::LinkImpl* wifi_link_ = nullptr; // Representing the air media (there is no such thing in NS-3)
   NetPoint* access_point_        = nullptr; // Zone's gateway to the external world
 };