X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9a51b791dab55275bffc183f8dfe9c26b6feaa57..8735a101c4a502473ba7381e88aec514ebe1b828:/include/simgrid/kernel/routing/WifiZone.hpp diff --git a/include/simgrid/kernel/routing/WifiZone.hpp b/include/simgrid/kernel/routing/WifiZone.hpp index 15cc9b01e1..e325ca02e3 100644 --- a/include/simgrid/kernel/routing/WifiZone.hpp +++ b/include/simgrid/kernel/routing/WifiZone.hpp @@ -20,17 +20,17 @@ namespace routing { */ class XBT_PRIVATE WifiZone : public RoutedZone { public: - explicit WifiZone(NetZoneImpl* father, const std::string& name, resource::NetworkModel* netmodel); + explicit WifiZone(const std::string& name); WifiZone(const WifiZone&) = delete; WifiZone& operator=(const WifiZone) = delete; - 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& bandwidths, s4u::Link::SharingPolicy policy) override; - NetPoint* get_access_point() {return access_point_;} + 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 };