Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill popping_{enum,generated}
[simgrid.git] / src / simix / popping_private.hpp
index 4e918a5..73ef058 100644 (file)
 #include <boost/intrusive_ptr.hpp>
 
 /********************************* Simcalls *********************************/
-#include "popping_enum.hpp" /* Definition of Simcall, with one value per simcall */
+namespace simgrid {
+namespace simix {
+/** All possible simcalls. */
+enum class Simcall {
+  NONE,
+  RUN_KERNEL,
+  RUN_BLOCKING,
+};
+constexpr int NUM_SIMCALLS = 3;
+/** @brief Simcalls' names */
+} // namespace simix
+} // namespace simgrid
 
 XBT_PUBLIC_DATA const std::array<const char*, simgrid::simix::NUM_SIMCALLS> simcall_names; /* Name of each simcall */