A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Factory functions for all Netzones
[simgrid.git]
/
src
/
kernel
/
routing
/
WifiZone.cpp
diff --git
a/src/kernel/routing/WifiZone.cpp
b/src/kernel/routing/WifiZone.cpp
index
a6f8bc7
..
7071075
100644
(file)
--- a/
src/kernel/routing/WifiZone.cpp
+++ b/
src/kernel/routing/WifiZone.cpp
@@
-66,4
+66,12
@@
s4u::Link* WifiZone::create_link(const std::string& name, const std::vector<doub
}
} // namespace routing
} // namespace kernel
+
+namespace s4u {
+NetZone* createWifiZone(const std::string& name)
+{
+ return (new kernel::routing::WifiZone(name))->get_iface();
+}
+} // namespace s4u
+
} // namespace simgrid