X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ac4f74feda6a7d2c2b51d66c7612977d14d971f..a9786d0c1612118b9fc2304ea7aa36b67b232267:/include/simgrid/s4u/engine.hpp diff --git a/include/simgrid/s4u/engine.hpp b/include/simgrid/s4u/engine.hpp index 07c471c996..62b41648c8 100644 --- a/include/simgrid/s4u/engine.hpp +++ b/include/simgrid/s4u/engine.hpp @@ -66,10 +66,15 @@ public: /** @brief Retrieve the engine singleton */ static s4u::Engine *instance(); - /** @brief Retrieve the root AS, containing all others */ - simgrid::s4u::As *rootAs(); - /** @brief Retrieve the AS of the given name (or nullptr if not found) */ - simgrid::s4u::As *asByNameOrNull(const char *name); + /** @brief Retrieve the root netzone, containing all others */ + simgrid::s4u::NetZone* netRoot(); + + /** @brief Retrieve the netzone of the given name (or nullptr if not found) */ + simgrid::s4u::NetZone* netzoneByNameOrNull(const char* name); + + /** @brief Retrieve the netcard of the given name (or nullptr if not found) */ + simgrid::kernel::routing::NetCard* netcardByNameOrNull(const char* name); + void netcardList(std::vector * list); template void registerFunction(const char* name)