X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b46a15116e3ab14c03a7aad88cce834b40b90a2b..cce6ab4f4fb2bbc73b9d440c72ded7eb9be95f3d:/include/simgrid/kernel/routing/WifiZone.hpp diff --git a/include/simgrid/kernel/routing/WifiZone.hpp b/include/simgrid/kernel/routing/WifiZone.hpp index 2227093323..adc05ed2f9 100644 --- a/include/simgrid/kernel/routing/WifiZone.hpp +++ b/include/simgrid/kernel/routing/WifiZone.hpp @@ -23,13 +23,14 @@ public: explicit WifiZone(NetZoneImpl* father, const std::string& name, resource::NetworkModel* netmodel); WifiZone(const WifiZone&) = delete; WifiZone& operator=(const WifiZone) = delete; - ~WifiZone() = default; + ~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& bandwidths, double latency, s4u::Link::SharingPolicy policy, const std::unordered_map* props) override; + NetPoint* get_access_point() {return access_point_;} private: resource::LinkImpl* wifi_link_ = nullptr; // Representing the air media (there is no such thing in NS-3)