/** @brief Check if the current Resource is active */
virtual bool is_on() const;
/** @brief Check if the current Resource is shut down */
- virtual bool is_off() const;
+ XBT_ATTRIB_DEPRECATED_v325("Please use !is_on()") virtual bool is_off() const;
/** @brief Turn on the current Resource */
virtual void turn_on();
/** @brief Turn off the current Resource */
lmm::Constraint* get_constraint() const;
private:
- kernel::lmm::Constraint* const constraint_ = nullptr;
+ kernel::lmm::Constraint* const constraint_;
public:
profile::Event* state_event_ = nullptr;