X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1fd762bbcbc15aa4ffafe2d15df5cb650d1fa1ff..a73d204e173f35c0abb92b26e061929066b8b283:/include/simgrid/kernel/resource/Resource.hpp diff --git a/include/simgrid/kernel/resource/Resource.hpp b/include/simgrid/kernel/resource/Resource.hpp index ebab496355..9f2c97b720 100644 --- a/include/simgrid/kernel/resource/Resource.hpp +++ b/include/simgrid/kernel/resource/Resource.hpp @@ -60,8 +60,6 @@ public: /** @brief Check if the current Resource is active */ virtual bool is_on() const { return is_on_; } - /** @brief Check if the current Resource is shut down */ - XBT_ATTRIB_DEPRECATED_v325("Please use !is_on()") virtual bool is_off() const { return not is_on_; } /** @brief Turn on the current Resource */ virtual void turn_on() { is_on_ = true; } /** @brief Turn off the current Resource */ @@ -69,11 +67,6 @@ public: /** @brief setup the profile file with states events (ON or OFF). The profile must contain boolean values. */ virtual void set_state_profile(profile::Profile* profile); -#ifndef DOXYGEN - XBT_ATTRIB_DEPRECATED_v325("Please use Resource::set_state_profile()") virtual void set_state_trace( - profile::Profile* profile) { set_state_profile(profile); } -#endif - private: std::string name_; Model* model_;