Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / include / simgrid / kernel / routing / WifiZone.hpp
index da6027d..c695e6e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -30,6 +30,7 @@ public:
   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;
+  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)