X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/916422155091e4e7e0f463cec933b88fed642e8a..230f14e9e54194231417a6afe68983b67693ed6d:/include/simgrid/s4u/NetZone.hpp diff --git a/include/simgrid/s4u/NetZone.hpp b/include/simgrid/s4u/NetZone.hpp index a4979d4c4d..97ecfbbc71 100644 --- a/include/simgrid/s4u/NetZone.hpp +++ b/include/simgrid/s4u/NetZone.hpp @@ -93,7 +93,9 @@ private: #endif public: + /** \static Add a callback fired on each newly created NetZone */ static void on_creation_cb(const std::function& cb) { on_creation.connect(cb); } + /** \static Add a callback fired on each newly sealed NetZone */ static void on_seal_cb(const std::function& cb) { on_seal.connect(cb); } /**