X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0e24e71be9100371207e703e25cab7d612f521c..ccc1670e4bf36086f1f524b5ef004d5210415488:/src/surf/surf_interface.hpp diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index ae7266f778..4dce34dd97 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -488,7 +488,12 @@ public: /** @brief Set the [state](\ref e_surf_resource_state_t) of the current Resource */ virtual void setState(e_surf_resource_state_t state); +protected: + void die(); + virtual void onDie(); + private: + bool alive_ = true; const char *p_name; Model *p_model; bool m_running;