X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/872edfc797b0084bc83f5d5f7b2b4826371b52ba..63c219ee10cf464f95ad9888e0814439445b53f8:/include/simgrid/s4u/Engine.hpp diff --git a/include/simgrid/s4u/Engine.hpp b/include/simgrid/s4u/Engine.hpp index 1741d9a19c..31f7540997 100644 --- a/include/simgrid/s4u/Engine.hpp +++ b/include/simgrid/s4u/Engine.hpp @@ -22,21 +22,23 @@ namespace simgrid { namespace s4u { /** @brief Simulation engine * - * This class is an interface to the simulation engine. + * This is a singleton containing all the main functions of the simulation. */ class XBT_PUBLIC Engine { public: /** Constructor, taking the command line parameters of your main function */ explicit Engine(int* argc, char** argv); - /** Currently, only one instance is allowed to exist. This is why you can't copy or move it */ + /* Currently, only one instance is allowed to exist. This is why you can't copy or move it */ +#ifndef DOXYGEN Engine(const Engine&) = delete; Engine(Engine&&) = delete; - ~Engine(); +#endif + /** Finalize the default engine and all its dependencies */ static void shutdown(); - /** @brief Run the simulation after initialization */ + /** Run the simulation after initialization */ void run(); /** @brief Retrieve the simulation time (in seconds) */ @@ -106,10 +108,12 @@ public: std::vector get_all_actors(); std::vector get_filtered_actors(const std::function& filter); +#ifndef DOXYGEN size_t get_storage_count(); std::vector get_all_storages(); Storage* storage_by_name(const std::string& name); Storage* storage_by_name_or_null(const std::string& name); +#endif std::vector get_all_netpoints(); kernel::routing::NetPoint* netpoint_by_name_or_null(const std::string& name);